Sha256: d11b9c34263f2af46540b31654760fe97f63dfb845fcc8936b25e8e01389a8ec

Contents?: true

Size: 664 Bytes

Versions: 12

Compression:

Stored size: 664 Bytes

Contents

module GoTransverseTractApi

  module Usage

    class OrderItemUsageRule

      class << self

        #
        # @param {Long} eid
        #
        def find_by_eid eid
          GoTransverseTractApi.get_response_for(self, {eid: eid})
        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

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

      end

    end

  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.5.2 lib/gotransverse-tract-api/usage/order_item_usage_rule.rb
gotransverse-tract-api-0.5.1 lib/gotransverse-tract-api/usage/order_item_usage_rule.rb
gotransverse-tract-api-0.5.0 lib/gotransverse-tract-api/usage/order_item_usage_rule.rb
gotransverse-tract-api-0.4.3 lib/gotransverse-tract-api/usage/order_item_usage_rule.rb
gotransverse-tract-api-0.4.2 lib/gotransverse-tract-api/usage/order_item_usage_rule.rb
gotransverse-tract-api-0.4.1 lib/gotransverse-tract-api/usage/order_item_usage_rule.rb
gotransverse-tract-api-0.4.0 lib/gotransverse-tract-api/usage/order_item_usage_rule.rb
gotransverse-tract-api-0.3.4 lib/gotransverse-tract-api/usage/order_item_usage_rule.rb
gotransverse-tract-api-0.3.3 lib/gotransverse-tract-api/usage/order_item_usage_rule.rb
gotransverse-tract-api-0.3.2 lib/gotransverse-tract-api/usage/order_item_usage_rule.rb
gotransverse-tract-api-0.3.1 lib/gotransverse-tract-api/usage/order_item_usage_rule.rb
gotransverse-tract-api-0.3.0 lib/gotransverse-tract-api/usage/order_item_usage_rule.rb