Sha256: 1e4b5c9f997eb4b5e88cd3a702442ab06238d08ac476152db7e77ddc65c7dcf3

Contents?: true

Size: 636 Bytes

Versions: 28

Compression:

Stored size: 636 Bytes

Contents

module GoTransverseTractApi

  module Order

    class ProductRelation

      class << self

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

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

        #
        # @param {String} type
        #
        def find_by_type type
          GoTransverseTractApi.get_response_for(self, {type: type})
        end

      end

    end

  end

end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.1.10 lib/gotransverse-tract-api/order/product_relation.rb
gotransverse-tract-api-0.1.9 lib/gotransverse-tract-api/order/product_relation.rb
gotransverse-tract-api-0.1.8 lib/gotransverse-tract-api/order/product_relation.rb
gotransverse-tract-api-0.1.7 lib/gotransverse-tract-api/order/product_relation.rb
gotransverse-tract-api-0.1.6 lib/gotransverse-tract-api/order/product_relation.rb
gotransverse-tract-api-0.1.5 lib/gotransverse-tract-api/order/product_relation.rb
gotransverse-tract-api-0.1.4 lib/gotransverse-tract-api/order/product_relation.rb
gotransverse-tract-api-0.1.3 lib/gotransverse-tract-api/order/product_relation.rb