Sha256: 8eaa4fe1f735e14b1bca50b6f53a671909df055830529153ce2146ffe7389a44

Contents?: true

Size: 795 Bytes

Versions: 4

Compression:

Stored size: 795 Bytes

Contents

module GoTransverseTractApi

  module GeneralLedger

    class GLAggregateBatch

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

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

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

      #
      # @param {DateTime} posted_on
      #
      def self.find_by_posted_on posted_on
        GoTransverseTractApi.get_response_for(self.class, {posted_on: posted_on})
      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_aggregate_batch.rb
gotransverse-tract-api-0.0.11 lib/gotransverse-tract-api/general_ledger/gl_aggregate_batch.rb
gotransverse-tract-api-0.0.10 lib/gotransverse-tract-api/general_ledger/gl_aggregate_batch.rb
gotransverse-tract-api-0.0.9 lib/gotransverse-tract-api/general_ledger/gl_aggregate_batch.rb