Sha256: 1299405f9d65e9016fc498a2809cc0d1c65b7c6699586bd9b00581538cfb2274

Contents?: true

Size: 1.43 KB

Versions: 15

Compression:

Stored size: 1.43 KB

Contents

module GoTransverseTractApi

  module GeneralLedger

    class GLAggregateBatch

      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 {String} status
        #
        def find_by_status status
          GoTransverseTractApi.get_response_for(self, {status: status})
        end

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

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

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

        #
        # @param {Long} eid
        # @param {Hash} gl_aggregate_batch
        #
        def update eid, gl_aggregate_batch
          GoTransverseTractApi.put_request_for(self, {eid: eid}, gl_aggregate_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_aggregate_batch.rb
gotransverse-tract-api-0.4.2 lib/gotransverse-tract-api/general_ledger/gl_aggregate_batch.rb
gotransverse-tract-api-0.4.1 lib/gotransverse-tract-api/general_ledger/gl_aggregate_batch.rb
gotransverse-tract-api-0.4.0 lib/gotransverse-tract-api/general_ledger/gl_aggregate_batch.rb
gotransverse-tract-api-0.3.4 lib/gotransverse-tract-api/general_ledger/gl_aggregate_batch.rb
gotransverse-tract-api-0.3.3 lib/gotransverse-tract-api/general_ledger/gl_aggregate_batch.rb
gotransverse-tract-api-0.3.2 lib/gotransverse-tract-api/general_ledger/gl_aggregate_batch.rb
gotransverse-tract-api-0.3.1 lib/gotransverse-tract-api/general_ledger/gl_aggregate_batch.rb
gotransverse-tract-api-0.3.0 lib/gotransverse-tract-api/general_ledger/gl_aggregate_batch.rb
gotransverse-tract-api-0.2.5 lib/gotransverse-tract-api/general_ledger/gl_aggregate_batch.rb
gotransverse-tract-api-0.2.4 lib/gotransverse-tract-api/general_ledger/gl_aggregate_batch.rb
gotransverse-tract-api-0.2.3 lib/gotransverse-tract-api/general_ledger/gl_aggregate_batch.rb
gotransverse-tract-api-0.2.2 lib/gotransverse-tract-api/general_ledger/gl_aggregate_batch.rb
gotransverse-tract-api-0.2.1 lib/gotransverse-tract-api/general_ledger/gl_aggregate_batch.rb
gotransverse-tract-api-0.2.0 lib/gotransverse-tract-api/general_ledger/gl_aggregate_batch.rb