Sha256: 0c85f7ddbd13f16a0e005327616fa395f3aa46616d52268289d4dee0aaf81867

Contents?: true

Size: 395 Bytes

Versions: 1

Compression:

Stored size: 395 Bytes

Contents

# frozen_string_literal: true

module FriendlyShipping
  # Base class for item options. Used when serializing API requests.
  class ItemOptions
    # @return [String] the ID for the item that belongs to these options
    attr_reader :item_id

    # @param item_id [String] the ID for the item that belongs to these options
    def initialize(item_id:)
      @item_id = item_id
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
friendly_shipping-0.9.0 lib/friendly_shipping/item_options.rb