Sha256: 98ca858ec2b13021d7f029c5dbc4be35da21bc97442046353fd3ec1f46dc0f78

Contents?: true

Size: 1.04 KB

Versions: 25

Compression:

Stored size: 1.04 KB

Contents

module GoTransverseTractApi

  module Order

    class BillCycle

      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

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

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

      end

    end

  end

end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.5.2 lib/gotransverse-tract-api/order/bill_cycle.rb
gotransverse-tract-api-0.5.1 lib/gotransverse-tract-api/order/bill_cycle.rb
gotransverse-tract-api-0.5.0 lib/gotransverse-tract-api/order/bill_cycle.rb
gotransverse-tract-api-0.4.3 lib/gotransverse-tract-api/order/bill_cycle.rb
gotransverse-tract-api-0.4.2 lib/gotransverse-tract-api/order/bill_cycle.rb
gotransverse-tract-api-0.4.1 lib/gotransverse-tract-api/order/bill_cycle.rb
gotransverse-tract-api-0.4.0 lib/gotransverse-tract-api/order/bill_cycle.rb
gotransverse-tract-api-0.3.4 lib/gotransverse-tract-api/order/bill_cycle.rb
gotransverse-tract-api-0.3.3 lib/gotransverse-tract-api/order/bill_cycle.rb
gotransverse-tract-api-0.3.2 lib/gotransverse-tract-api/order/bill_cycle.rb
gotransverse-tract-api-0.3.1 lib/gotransverse-tract-api/order/bill_cycle.rb
gotransverse-tract-api-0.3.0 lib/gotransverse-tract-api/order/bill_cycle.rb
gotransverse-tract-api-0.2.5 lib/gotransverse-tract-api/order/bill_cycle.rb
gotransverse-tract-api-0.2.4 lib/gotransverse-tract-api/order/bill_cycle.rb
gotransverse-tract-api-0.2.3 lib/gotransverse-tract-api/order/bill_cycle.rb
gotransverse-tract-api-0.2.2 lib/gotransverse-tract-api/order/bill_cycle.rb
gotransverse-tract-api-0.2.1 lib/gotransverse-tract-api/order/bill_cycle.rb
gotransverse-tract-api-0.2.0 lib/gotransverse-tract-api/order/bill_cycle.rb
gotransverse-tract-api-0.1.12 lib/gotransverse-tract-api/order/bill_cycle.rb
gotransverse-tract-api-0.1.11 lib/gotransverse-tract-api/order/bill_cycle.rb