Sha256: 609ef59ee6a9fa428c1542dc8afb1ae4d9214bf654777f6ef7382169f97345f4

Contents?: true

Size: 909 Bytes

Versions: 14

Compression:

Stored size: 909 Bytes

Contents

module GoTransverseTractApi

  module BillingAccount

    class AdjustmentReason

      class << self

        def find_all
          GoTransverseTractApi.get_response_for(self)
        end

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

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

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

        #
        # @param {Boolean} credit_only
        #
        def find_by_credit_only credit_only
          GoTransverseTractApi.get_response_for(self, {credit_only: credit_only})
        end

      end

    end

  end

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.5.2 lib/gotransverse-tract-api/billing_account/adjustment_reason.rb
gotransverse-tract-api-0.5.1 lib/gotransverse-tract-api/billing_account/adjustment_reason.rb
gotransverse-tract-api-0.5.0 lib/gotransverse-tract-api/billing_account/adjustment_reason.rb
gotransverse-tract-api-0.4.3 lib/gotransverse-tract-api/billing_account/adjustment_reason.rb
gotransverse-tract-api-0.4.2 lib/gotransverse-tract-api/billing_account/adjustment_reason.rb
gotransverse-tract-api-0.4.1 lib/gotransverse-tract-api/billing_account/adjustment_reason.rb
gotransverse-tract-api-0.4.0 lib/gotransverse-tract-api/billing_account/adjustment_reason.rb
gotransverse-tract-api-0.3.4 lib/gotransverse-tract-api/billing_account/adjustment_reason.rb
gotransverse-tract-api-0.3.3 lib/gotransverse-tract-api/billing_account/adjustment_reason.rb
gotransverse-tract-api-0.3.2 lib/gotransverse-tract-api/billing_account/adjustment_reason.rb
gotransverse-tract-api-0.3.1 lib/gotransverse-tract-api/billing_account/adjustment_reason.rb
gotransverse-tract-api-0.3.0 lib/gotransverse-tract-api/billing_account/adjustment_reason.rb
gotransverse-tract-api-0.2.5 lib/gotransverse-tract-api/billing_account/adjustment_reason.rb
gotransverse-tract-api-0.2.4 lib/gotransverse-tract-api/billing_account/adjustment_reason.rb