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.5.2 lib/gotransverse-tract-api/product/discount_identifier.rb
gotransverse-tract-api-0.5.1 lib/gotransverse-tract-api/product/discount_identifier.rb
gotransverse-tract-api-0.5.0 lib/gotransverse-tract-api/product/discount_identifier.rb
gotransverse-tract-api-0.4.3 lib/gotransverse-tract-api/product/discount_identifier.rb
gotransverse-tract-api-0.4.2 lib/gotransverse-tract-api/product/discount_identifier.rb
gotransverse-tract-api-0.4.1 lib/gotransverse-tract-api/product/discount_identifier.rb
gotransverse-tract-api-0.4.0 lib/gotransverse-tract-api/product/discount_identifier.rb
gotransverse-tract-api-0.3.4 lib/gotransverse-tract-api/product/discount_identifier.rb
gotransverse-tract-api-0.3.3 lib/gotransverse-tract-api/product/discount_identifier.rb
gotransverse-tract-api-0.3.2 lib/gotransverse-tract-api/product/discount_identifier.rb
gotransverse-tract-api-0.3.1 lib/gotransverse-tract-api/product/discount_identifier.rb
gotransverse-tract-api-0.3.0 lib/gotransverse-tract-api/product/discount_identifier.rb
gotransverse-tract-api-0.2.5 lib/gotransverse-tract-api/product/discount_identifier.rb
gotransverse-tract-api-0.2.4 lib/gotransverse-tract-api/product/discount_identifier.rb
gotransverse-tract-api-0.2.3 lib/gotransverse-tract-api/product/discount_identifier.rb
gotransverse-tract-api-0.2.2 lib/gotransverse-tract-api/product/discount_identifier.rb
gotransverse-tract-api-0.2.1 lib/gotransverse-tract-api/product/discount_identifier.rb
gotransverse-tract-api-0.2.0 lib/gotransverse-tract-api/product/discount_identifier.rb
gotransverse-tract-api-0.1.12 lib/gotransverse-tract-api/product/discount_identifier.rb
gotransverse-tract-api-0.1.11 lib/gotransverse-tract-api/product/discount_identifier.rb