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


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

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