Sha256: 24d77b595a30fc1c72d6b05d09ca00989ad00f107d30d16685b47bd7c7e8c122

Contents?: true

Size: 845 Bytes

Versions: 24

Compression:

Stored size: 845 Bytes

Contents

module GoTransverseTractApi

  module Product

    class OperationAttribute

      #
      # @param {Long} eid
      # @param {Hash} options
      #
      def self.find_by_eid eid, options={}
        return nil unless eid.present?

        params ||= GoTransverseTractApi::ApiData.new.get_query_params({eid: eid}, options)
        GoTransverseTractApi.get_response_for(self, params)
      end

      #
      # @param {Long} product_order_item_eid
      # @param {Hash} options
      #
      def self.find_by_product_order_item_eid product_order_item_eid, options={}
        return nil unless product_order_item_eid.present?

        params ||= GoTransverseTractApi::ApiData.new.get_query_params({product_order_item_eid: product_order_item_eid}, options)
        GoTransverseTractApi.get_response_for(self, params)
      end

    end

  end

end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.20.1 lib/gotransverse-tract-api/product/operation_attribute.rb
gotransverse-tract-api-0.20.0 lib/gotransverse-tract-api/product/operation_attribute.rb
gotransverse-tract-api-0.19.0 lib/gotransverse-tract-api/product/operation_attribute.rb
gotransverse-tract-api-0.18.3 lib/gotransverse-tract-api/product/operation_attribute.rb
gotransverse-tract-api-0.18.2 lib/gotransverse-tract-api/product/operation_attribute.rb
gotransverse-tract-api-0.18.1 lib/gotransverse-tract-api/product/operation_attribute.rb
gotransverse-tract-api-0.18.0 lib/gotransverse-tract-api/product/operation_attribute.rb
gotransverse-tract-api-0.17.2 lib/gotransverse-tract-api/product/operation_attribute.rb
gotransverse-tract-api-0.17.1 lib/gotransverse-tract-api/product/operation_attribute.rb
gotransverse-tract-api-0.17.0 lib/gotransverse-tract-api/product/operation_attribute.rb
gotransverse-tract-api-0.16.0 lib/gotransverse-tract-api/product/operation_attribute.rb
gotransverse-tract-api-0.15.0 lib/gotransverse-tract-api/product/operation_attribute.rb
gotransverse-tract-api-0.14.0 lib/gotransverse-tract-api/product/operation_attribute.rb
gotransverse-tract-api-0.13.0 lib/gotransverse-tract-api/product/operation_attribute.rb
gotransverse-tract-api-0.12.0 lib/gotransverse-tract-api/product/operation_attribute.rb
gotransverse-tract-api-0.11.2 lib/gotransverse-tract-api/product/operation_attribute.rb
gotransverse-tract-api-0.11.1 lib/gotransverse-tract-api/product/operation_attribute.rb
gotransverse-tract-api-0.11.0 lib/gotransverse-tract-api/product/operation_attribute.rb
gotransverse-tract-api-0.10.0 lib/gotransverse-tract-api/product/operation_attribute.rb
gotransverse-tract-api-0.9.2 lib/gotransverse-tract-api/product/operation_attribute.rb