Sha256: e30ade569e2f66443954a279c5d344dd1e38ca47fd1de80ef64a5a8a033c6002

Contents?: true

Size: 334 Bytes

Versions: 13

Compression:

Stored size: 334 Bytes

Contents

module ShopifyAPI
  class FulfillmentEvent < Base
    self.resource_prefix = "orders/:order_id/fulfillments/:fulfillment_id/"
    self.collection_name = 'events'
    self.element_name = 'event'

    def order_id
      @prefix_options[:order_id]
    end

    def fulfillment_id
      @prefix_options[:fulfillment_id]
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
shopify_api-9.2.0 lib/shopify_api/resources/fulfillment_event.rb
shopify_api-9.1.0 lib/shopify_api/resources/fulfillment_event.rb
shopify_api-9.0.4 lib/shopify_api/resources/fulfillment_event.rb
shopify_api-9.0.3 lib/shopify_api/resources/fulfillment_event.rb
shopify_api-9.0.2 lib/shopify_api/resources/fulfillment_event.rb
shopify_api-9.0.1 lib/shopify_api/resources/fulfillment_event.rb
shopify_api-9.0.0 lib/shopify_api/resources/fulfillment_event.rb
shopify_api-8.1.0 lib/shopify_api/resources/fulfillment_event.rb
shopify_api-8.0.0 lib/shopify_api/resources/fulfillment_event.rb
shopify_api-7.1.0 lib/shopify_api/resources/fulfillment_event.rb
shopify_api-7.0.2 lib/shopify_api/resources/fulfillment_event.rb
shopify_api-7.0.1 lib/shopify_api/resources/fulfillment_event.rb
shopify_api-7.0.0 lib/shopify_api/resources/fulfillment_event.rb