Module: ShopifyAPI::Events

Included in:
Article, Blog, Collection, CustomCollection, Order, Page, Product, SmartCollection
Defined in:
lib/shopify_api/events.rb

Instance Method Summary collapse

Instance Method Details

#eventsObject


3
4
5
# File 'lib/shopify_api/events.rb', line 3

def events
  Event.find(:all, params: { resource: self.class.collection_name, resource_id: id })
end