Created
May 21, 2019 08:20
-
-
Save marzdgzmn/b0891dbb77722e46ec99ea9b1e37a9af to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class PodioAbstractItem < Podio::Item | |
def self.fetch_all_items(app_id) | |
Podio::Item.find_by_filter_values(app_id) | |
end | |
end | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class PodioBillingItem < PodioAbstractItem | |
APP_ID = 667788.freeze | |
def self.initialize_data(APP_ID) | |
fetch_all_items(APP_ID) | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class PodioCustomerItem < PodioAbstractItem | |
APP_ID = 112233.freeze | |
def self.initialize_data(APP_ID) | |
fetch_all_items(APP_ID) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment