Sha256: 0931f63c375c30197e79564b7b511620d0ebe447e5eab2d9c7a988e982aac0c1

Contents?: true

Size: 1.99 KB

Versions: 32

Compression:

Stored size: 1.99 KB

Contents

module GoTransverseTractApi

  module GeneralLedger

    class GLAggregateEntry

      class << self

        #
        # @param {Long} eid
        # @param {Hash} options
        #
        def find_by_eid eid, options={}
          return nil unless eid.present?

          params ||= GoTransverseTractApi::ApiData.new.get_query_params({eid: eid}, options)
          GoTransverseTractApi.get_response_for(self, params)
        end

        #
        # @param {Long} batch_num
        # @param {Hash} options
        #
        def find_by_batch_num batch_num, options={}
          return nil unless batch_num.present?

          params ||= GoTransverseTractApi::ApiData.new.get_query_params({batch_num: batch_num}, options)
          GoTransverseTractApi.get_response_for(self, params)
        end

        #
        # @param {DateTime} posted_on
        # @param {Hash} options
        #
        def find_by_posted_on posted_on, options={}
          return nil unless posted_on.present?

          params ||= GoTransverseTractApi::ApiData.new.get_query_params({posted_on: posted_on}, options)
          GoTransverseTractApi.get_response_for(self, params)
        end

        #
        # @param {Long} gl_account_eid
        # @param {Hash} options
        #
        def find_by_gl_account_eid gl_account_eid, options={}
          return nil unless gl_account_eid.present?

          params ||= GoTransverseTractApi::ApiData.new.get_query_params({gl_account_eid: gl_account_eid}, options)
          GoTransverseTractApi.get_response_for(self, params)
        end

        #
        # @param {Long} gl_aggregate_batch_eid
        # @param {Hash} options
        #
        def find_by_gl_aggregate_batch_eid gl_aggregate_batch_eid, options={}
          return nil unless gl_aggregate_batch_eid.present?

          params ||= GoTransverseTractApi::ApiData.new.get_query_params({gl_aggregate_batch_eid: gl_aggregate_batch_eid}, options)
          GoTransverseTractApi.get_response_for(self, params)
        end

      end

    end

  end

end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.24.0 lib/gotransverse-tract-api/general_ledger/gl_aggregate_entry.rb
gotransverse-tract-api-0.23.0 lib/gotransverse-tract-api/general_ledger/gl_aggregate_entry.rb
gotransverse-tract-api-0.22.1 lib/gotransverse-tract-api/general_ledger/gl_aggregate_entry.rb
gotransverse-tract-api-0.22.0 lib/gotransverse-tract-api/general_ledger/gl_aggregate_entry.rb
gotransverse-tract-api-0.21.1 lib/gotransverse-tract-api/general_ledger/gl_aggregate_entry.rb
gotransverse-tract-api-0.21.0 lib/gotransverse-tract-api/general_ledger/gl_aggregate_entry.rb
gotransverse-tract-api-0.20.3 lib/gotransverse-tract-api/general_ledger/gl_aggregate_entry.rb
gotransverse-tract-api-0.20.2 lib/gotransverse-tract-api/general_ledger/gl_aggregate_entry.rb
gotransverse-tract-api-0.20.1 lib/gotransverse-tract-api/general_ledger/gl_aggregate_entry.rb
gotransverse-tract-api-0.20.0 lib/gotransverse-tract-api/general_ledger/gl_aggregate_entry.rb
gotransverse-tract-api-0.19.0 lib/gotransverse-tract-api/general_ledger/gl_aggregate_entry.rb
gotransverse-tract-api-0.18.3 lib/gotransverse-tract-api/general_ledger/gl_aggregate_entry.rb
gotransverse-tract-api-0.18.2 lib/gotransverse-tract-api/general_ledger/gl_aggregate_entry.rb
gotransverse-tract-api-0.18.1 lib/gotransverse-tract-api/general_ledger/gl_aggregate_entry.rb
gotransverse-tract-api-0.18.0 lib/gotransverse-tract-api/general_ledger/gl_aggregate_entry.rb
gotransverse-tract-api-0.17.2 lib/gotransverse-tract-api/general_ledger/gl_aggregate_entry.rb
gotransverse-tract-api-0.17.1 lib/gotransverse-tract-api/general_ledger/gl_aggregate_entry.rb
gotransverse-tract-api-0.17.0 lib/gotransverse-tract-api/general_ledger/gl_aggregate_entry.rb
gotransverse-tract-api-0.16.0 lib/gotransverse-tract-api/general_ledger/gl_aggregate_entry.rb
gotransverse-tract-api-0.15.0 lib/gotransverse-tract-api/general_ledger/gl_aggregate_entry.rb