Sha256: e74df3b3b6008eabcc8536dede28a06577680de2e5f68d5d8f7780ec9e84be7d

Contents?: true

Size: 684 Bytes

Versions: 24

Compression:

Stored size: 684 Bytes

Contents

module GoTransverseTractApi

  module Product

    class DiscountIdentifier

      class << self

        #
        # @param {Long} eid
        #
        def find_by_eid eid
          GoTransverseTractApi.get_response_for(self, {eid: eid})
        end

        #
        # @param {Long} identifier
        #
        def find_by_identifier identifier
          GoTransverseTractApi.get_response_for(self, {identifier: identifier})
        end

        #
        # @param {Long} order_item_eid
        #
        def find_by_order_item_eid order_item_eid
          GoTransverseTractApi.get_response_for(self, {order_item_eid: order_item_eid})
        end

      end

    end

  end

end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.1.10 lib/gotransverse-tract-api/product/discount_identifier.rb
gotransverse-tract-api-0.1.9 lib/gotransverse-tract-api/product/discount_identifier.rb
gotransverse-tract-api-0.1.8 lib/gotransverse-tract-api/product/discount_identifier.rb
gotransverse-tract-api-0.1.7 lib/gotransverse-tract-api/product/discount_identifier.rb