Skip to content

Instantly share code, notes, and snippets.

@marzdgzmn
Created May 21, 2019 08:20
class PodioAbstractItem < Podio::Item
def self.fetch_all_items(app_id)
Podio::Item.find_by_filter_values(app_id)
end
end
class PodioBillingItem < PodioAbstractItem
APP_ID = 667788.freeze
def self.initialize_data(APP_ID)
fetch_all_items(APP_ID)
end
end
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