Sha256: b37a0dc50e4782dda32d7b32b936a5335cea9672f3cc82ea7808e6de53743548

Contents?: true

Size: 1.18 KB

Versions: 14

Compression:

Stored size: 1.18 KB

Contents

module GoTransverseTractApi

  module GeneralLedger

    class GLAccount

      #
      # @param {Long} eid
      # @param {String} query_scope (default: 'SHALLOW')
      #
      def self.find_by_eid eid, query_scope=nil
        GoTransverseTractApi.get_response_for(self, {eid: eid, queryScope: query_scope})
      end

      #
      # @param {Long} general_ledger_eid
      # @param {String} query_scope (default: 'SHALLOW')
      #
      def self.find_by_general_ledger_eid general_ledger_eid, query_scope=nil
        GoTransverseTractApi.get_response_for(self, {general_ledger_eid: general_ledger_eid, queryScope: query_scope})
      end

      #
      # @param {String} name
      # @param {String} query_scope (default: 'SHALLOW')
      #
      def self.find_by_name name, query_scope=nil
        GoTransverseTractApi.get_response_for(self, {name: name, queryScope: query_scope})
      end

      #
      # @param {String} account_num
      # @param {String} query_scope (default: 'SHALLOW')
      #
      def self.find_by_account_num account_num, query_scope=nil
        GoTransverseTractApi.get_response_for(self, {account_num: account_num, queryScope: query_scope})
      end

    end

  end

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.7.4 lib/gotransverse-tract-api/general_ledger/gl_account.rb
gotransverse-tract-api-0.7.3 lib/gotransverse-tract-api/general_ledger/gl_account.rb
gotransverse-tract-api-0.7.2 lib/gotransverse-tract-api/general_ledger/gl_account.rb
gotransverse-tract-api-0.7.1 lib/gotransverse-tract-api/general_ledger/gl_account.rb
gotransverse-tract-api-0.7.0 lib/gotransverse-tract-api/general_ledger/gl_account.rb
gotransverse-tract-api-0.6.7 lib/gotransverse-tract-api/general_ledger/gl_account.rb
gotransverse-tract-api-0.6.6 lib/gotransverse-tract-api/general_ledger/gl_account.rb
gotransverse-tract-api-0.6.5 lib/gotransverse-tract-api/general_ledger/gl_account.rb
gotransverse-tract-api-0.6.4 lib/gotransverse-tract-api/general_ledger/gl_account.rb
gotransverse-tract-api-0.6.3 lib/gotransverse-tract-api/general_ledger/gl_account.rb
gotransverse-tract-api-0.6.2 lib/gotransverse-tract-api/general_ledger/gl_account.rb
gotransverse-tract-api-0.6.1 lib/gotransverse-tract-api/general_ledger/gl_account.rb
gotransverse-tract-api-0.6.0 lib/gotransverse-tract-api/general_ledger/gl_account.rb
gotransverse-tract-api-0.5.3 lib/gotransverse-tract-api/general_ledger/gl_account.rb