Sha256: 0760ac06acab86bae4e814b63bd0c484bb1c19738fd0e69c5a538e18b0550cab

Contents?: true

Size: 939 Bytes

Versions: 14

Compression:

Stored size: 939 Bytes

Contents

module GoTransverseTractApi

  module Order

    class ProductRelation

      class << self

        #
        # @param {Long} eid
        # @param {String} query_scope (default: 'SHALLOW')
        #
        def find_by_eid eid, query_scope=nil
          GoTransverseTractApi.get_response_for(self, {eid: eid, queryScope: query_scope})
        end

        #
        # @param {Long} product_eid
        # @param {String} query_scope (default: 'SHALLOW')
        #
        def find_by_product_eid product_eid, query_scope=nil
          GoTransverseTractApi.get_response_for(self, {product_eid: product_eid, queryScope: query_scope})
        end

        #
        # @param {String} type
        # @param {String} query_scope (default: 'SHALLOW')
        #
        def find_by_type type, query_scope=nil
          GoTransverseTractApi.get_response_for(self, {type: type, queryScope: query_scope})
        end

      end

    end

  end

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.7.4 lib/gotransverse-tract-api/order/product_relation.rb
gotransverse-tract-api-0.7.3 lib/gotransverse-tract-api/order/product_relation.rb
gotransverse-tract-api-0.7.2 lib/gotransverse-tract-api/order/product_relation.rb
gotransverse-tract-api-0.7.1 lib/gotransverse-tract-api/order/product_relation.rb
gotransverse-tract-api-0.7.0 lib/gotransverse-tract-api/order/product_relation.rb
gotransverse-tract-api-0.6.7 lib/gotransverse-tract-api/order/product_relation.rb
gotransverse-tract-api-0.6.6 lib/gotransverse-tract-api/order/product_relation.rb
gotransverse-tract-api-0.6.5 lib/gotransverse-tract-api/order/product_relation.rb
gotransverse-tract-api-0.6.4 lib/gotransverse-tract-api/order/product_relation.rb
gotransverse-tract-api-0.6.3 lib/gotransverse-tract-api/order/product_relation.rb
gotransverse-tract-api-0.6.2 lib/gotransverse-tract-api/order/product_relation.rb
gotransverse-tract-api-0.6.1 lib/gotransverse-tract-api/order/product_relation.rb
gotransverse-tract-api-0.6.0 lib/gotransverse-tract-api/order/product_relation.rb
gotransverse-tract-api-0.5.3 lib/gotransverse-tract-api/order/product_relation.rb