Sha256: ebb61aec1c902672b3febf7714b28738a1e0813ed1dc519d8e758f92902150d4

Contents?: true

Size: 1.23 KB

Versions: 15

Compression:

Stored size: 1.23 KB

Contents

module GoTransverseTractApi

  module GeneralLedger

    class GLTransactionBatch

      class << self

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

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

        #
        # @param {DateTime} posted_on
        #
        def find_by_posted_on posted_on
          GoTransverseTractApi.get_response_for(self, {posted_on: posted_on})
        end

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

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

        #
        # @param {Long} eid
        # @param {Hash} gl_transaction_batch
        #
        def update eid, gl_transaction_batch
          GoTransverseTractApi.put_request_for(self, {eid: eid}, gl_transaction_batch)
        end

      end

    end

  end

end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.4.3 lib/gotransverse-tract-api/general_ledger/gl_transaction_batch.rb
gotransverse-tract-api-0.4.2 lib/gotransverse-tract-api/general_ledger/gl_transaction_batch.rb
gotransverse-tract-api-0.4.1 lib/gotransverse-tract-api/general_ledger/gl_transaction_batch.rb
gotransverse-tract-api-0.4.0 lib/gotransverse-tract-api/general_ledger/gl_transaction_batch.rb
gotransverse-tract-api-0.3.4 lib/gotransverse-tract-api/general_ledger/gl_transaction_batch.rb
gotransverse-tract-api-0.3.3 lib/gotransverse-tract-api/general_ledger/gl_transaction_batch.rb
gotransverse-tract-api-0.3.2 lib/gotransverse-tract-api/general_ledger/gl_transaction_batch.rb
gotransverse-tract-api-0.3.1 lib/gotransverse-tract-api/general_ledger/gl_transaction_batch.rb
gotransverse-tract-api-0.3.0 lib/gotransverse-tract-api/general_ledger/gl_transaction_batch.rb
gotransverse-tract-api-0.2.5 lib/gotransverse-tract-api/general_ledger/gl_transaction_batch.rb
gotransverse-tract-api-0.2.4 lib/gotransverse-tract-api/general_ledger/gl_transaction_batch.rb
gotransverse-tract-api-0.2.3 lib/gotransverse-tract-api/general_ledger/gl_transaction_batch.rb
gotransverse-tract-api-0.2.2 lib/gotransverse-tract-api/general_ledger/gl_transaction_batch.rb
gotransverse-tract-api-0.2.1 lib/gotransverse-tract-api/general_ledger/gl_transaction_batch.rb
gotransverse-tract-api-0.2.0 lib/gotransverse-tract-api/general_ledger/gl_transaction_batch.rb