Sha256: dd6220a9935c22534c5ca26c8350a3f27082d4c5b934b67dd76fc4f20aa8d26c

Contents?: true

Size: 833 Bytes

Versions: 4

Compression:

Stored size: 833 Bytes

Contents

module GoTransverseTractApi

  module GeneralLedger

    class GLAccount

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

      #
      # @param {Long} general_ledger_eid
      #
      def self.find_by_general_ledger_eid general_ledger_eid
        GoTransverseTractApi.get_response_for(self.class, {general_ledger_eid: general_ledger_eid})
      end

      #
      # @param {String} name
      #
      def self.find_by_name name
        GoTransverseTractApi.get_response_for(self.class, {name: name})
      end

      #
      # @param {String} account_num
      #
      def self.find_by_account_num account_num
        GoTransverseTractApi.get_response_for(self.class, {account_num: account_num})
      end

    end

  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.0.12 lib/gotransverse-tract-api/general_ledger/gl_account.rb
gotransverse-tract-api-0.0.11 lib/gotransverse-tract-api/general_ledger/gl_account.rb
gotransverse-tract-api-0.0.10 lib/gotransverse-tract-api/general_ledger/gl_account.rb
gotransverse-tract-api-0.0.9 lib/gotransverse-tract-api/general_ledger/gl_account.rb