Sha256: 404448c32d5c93aa743c75febf8361159c73f36a2a977e374607a30c0653ed6d

Contents?: true

Size: 855 Bytes

Versions: 3

Compression:

Stored size: 855 Bytes

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
      end

    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.1.5 lib/gotransverse-tract-api/order/bill_cycle.rb
gotransverse-tract-api-0.1.4 lib/gotransverse-tract-api/order/bill_cycle.rb
gotransverse-tract-api-0.1.3 lib/gotransverse-tract-api/order/bill_cycle.rb