Sha256: f7c7845732ee4b31e36334a028793ca0c21b47f4f7483b30cfd7f4eaaac06975

Contents?: true

Size: 1.36 KB

Versions: 32

Compression:

Stored size: 1.36 KB

Contents

module GoTransverseTractApi

  module Order

    class BillingAccountCategory

      class << self

        #
        # @param {Hash} options
        #
        def find_all options={}
          params ||= GoTransverseTractApi::ApiData.new.get_query_params({}, options)
          GoTransverseTractApi.get_response_for(self, params)
        end

        #
        # @param {Long} eid
        # @param {Hash} options
        #
        def 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 {String} desc
        # @param {Hash} options
        #
        def find_by_desc desc, options={}
          return nil unless desc.present?

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

        #
        # @param {String} status
        # @param {Hash} options
        #
        def find_by_status status, options={}
          return nil unless status.present?

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

      end

    end

  end

end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.24.0 lib/gotransverse-tract-api/order/billing_account_category.rb
gotransverse-tract-api-0.23.0 lib/gotransverse-tract-api/order/billing_account_category.rb
gotransverse-tract-api-0.22.1 lib/gotransverse-tract-api/order/billing_account_category.rb
gotransverse-tract-api-0.22.0 lib/gotransverse-tract-api/order/billing_account_category.rb
gotransverse-tract-api-0.21.1 lib/gotransverse-tract-api/order/billing_account_category.rb
gotransverse-tract-api-0.21.0 lib/gotransverse-tract-api/order/billing_account_category.rb
gotransverse-tract-api-0.20.3 lib/gotransverse-tract-api/order/billing_account_category.rb
gotransverse-tract-api-0.20.2 lib/gotransverse-tract-api/order/billing_account_category.rb
gotransverse-tract-api-0.20.1 lib/gotransverse-tract-api/order/billing_account_category.rb
gotransverse-tract-api-0.20.0 lib/gotransverse-tract-api/order/billing_account_category.rb
gotransverse-tract-api-0.19.0 lib/gotransverse-tract-api/order/billing_account_category.rb
gotransverse-tract-api-0.18.3 lib/gotransverse-tract-api/order/billing_account_category.rb
gotransverse-tract-api-0.18.2 lib/gotransverse-tract-api/order/billing_account_category.rb
gotransverse-tract-api-0.18.1 lib/gotransverse-tract-api/order/billing_account_category.rb
gotransverse-tract-api-0.18.0 lib/gotransverse-tract-api/order/billing_account_category.rb
gotransverse-tract-api-0.17.2 lib/gotransverse-tract-api/order/billing_account_category.rb
gotransverse-tract-api-0.17.1 lib/gotransverse-tract-api/order/billing_account_category.rb
gotransverse-tract-api-0.17.0 lib/gotransverse-tract-api/order/billing_account_category.rb
gotransverse-tract-api-0.16.0 lib/gotransverse-tract-api/order/billing_account_category.rb
gotransverse-tract-api-0.15.0 lib/gotransverse-tract-api/order/billing_account_category.rb