Sha256: ad96d85bfdaa46fc10164a6611f86aa1d0ac20b9f32f8453fb2cb1f376be6824

Contents?: true

Size: 691 Bytes

Versions: 14

Compression:

Stored size: 691 Bytes

Contents

module GoTransverseTractApi

  module BillingAccount

    class Reason

      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} type
        #
        def find_by_type type
          GoTransverseTractApi.get_response_for(self, {type: type})
        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/reason.rb
gotransverse-tract-api-0.5.1 lib/gotransverse-tract-api/billing_account/reason.rb
gotransverse-tract-api-0.5.0 lib/gotransverse-tract-api/billing_account/reason.rb
gotransverse-tract-api-0.4.3 lib/gotransverse-tract-api/billing_account/reason.rb
gotransverse-tract-api-0.4.2 lib/gotransverse-tract-api/billing_account/reason.rb
gotransverse-tract-api-0.4.1 lib/gotransverse-tract-api/billing_account/reason.rb
gotransverse-tract-api-0.4.0 lib/gotransverse-tract-api/billing_account/reason.rb
gotransverse-tract-api-0.3.4 lib/gotransverse-tract-api/billing_account/reason.rb
gotransverse-tract-api-0.3.3 lib/gotransverse-tract-api/billing_account/reason.rb
gotransverse-tract-api-0.3.2 lib/gotransverse-tract-api/billing_account/reason.rb
gotransverse-tract-api-0.3.1 lib/gotransverse-tract-api/billing_account/reason.rb
gotransverse-tract-api-0.3.0 lib/gotransverse-tract-api/billing_account/reason.rb
gotransverse-tract-api-0.2.5 lib/gotransverse-tract-api/billing_account/reason.rb
gotransverse-tract-api-0.2.4 lib/gotransverse-tract-api/billing_account/reason.rb