Sha256: c289df976ef2cba8f3cdba50fffc0154cd828d598b021c1b9435ece706ca511a

Contents?: true

Size: 364 Bytes

Versions: 8

Compression:

Stored size: 364 Bytes

Contents

# frozen_string_literal: true
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

8 entries across 8 versions & 2 rubygems

Version Path
ruby_shopify_api-1.2.0 lib/ruby_shopify_api/resources/fulfillment_event.rb
ruby_shopify_api-1.1.0 lib/shopify_api/resources/fulfillment_event.rb
ruby_shopify_api-1.0.0 lib/shopify_api/resources/fulfillment_event.rb
shopify_api-9.5.1 lib/shopify_api/resources/fulfillment_event.rb
shopify_api-9.5 lib/shopify_api/resources/fulfillment_event.rb
shopify_api-9.4.1 lib/shopify_api/resources/fulfillment_event.rb
shopify_api-9.4.0 lib/shopify_api/resources/fulfillment_event.rb
shopify_api-9.3.0 lib/shopify_api/resources/fulfillment_event.rb