Sha256: 6392a2ddf9fc29f0a4c73267c8fabadfa226ac46789fa865d0e9baf4097d218d

Contents?: true

Size: 676 Bytes

Versions: 7

Compression:

Stored size: 676 Bytes

Contents

module GoTransverseTractApi

  module GeneralLedger

    class GeneralLedger

      def self.find_all
        GoTransverseTractApi.get_response_for(self.class)
      end

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

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

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

    end

  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.0.12 lib/gotransverse-tract-api/general_ledger/general_ledger.rb
gotransverse-tract-api-0.0.11 lib/gotransverse-tract-api/general_ledger/general_ledger.rb
gotransverse-tract-api-0.0.10 lib/gotransverse-tract-api/general_ledger/general_ledger.rb
gotransverse-tract-api-0.0.9 lib/gotransverse-tract-api/general_ledger/general_ledger.rb
gotransverse-tract-api-0.0.8 lib/gotransverse-tract-api/general_ledger/general_ledger.rb
gotransverse-tract-api-0.0.7 lib/gotransverse-tract-api/general_ledger/general_ledger.rb
gotransverse-tract-api-0.0.6 lib/gotransverse-tract-api/general_ledger/general_ledger.rb