Sha256: 779efc7128b3d2ae4532d68a0a38abb6cfa141a5ca1326afe49010e95e9b9e3f

Contents?: true

Size: 629 Bytes

Versions: 10

Compression:

Stored size: 629 Bytes

Contents

module FinApps
  module REST

    class Transactions < FinApps::REST::Resources
      include FinApps::REST::Defaults

      # @param [Hash] params
      # @return [Array<FinApps::REST::Transaction>, Array<String>]
      def search(params={})
        logger.debug "##{__method__.to_s} => Started"

        path = Defaults::END_POINTS[:transactions_search]

        logger.debug "##{__method__.to_s} => path: #{path}"

        transactions, error_messages = @client.send(path, :post, params.compact)

        logger.debug "##{__method__.to_s} => Completed"
        return transactions, error_messages
      end

    end

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
finapps-0.3.6.pre lib/finapps/rest/transactions.rb
finapps-0.3.5.pre lib/finapps/rest/transactions.rb
finapps-0.3.4.pre lib/finapps/rest/transactions.rb
finapps-0.3.3.pre lib/finapps/rest/transactions.rb
finapps-0.3.2.pre lib/finapps/rest/transactions.rb
finapps-0.3.1.pre lib/finapps/rest/transactions.rb
finapps-0.2.14.pre lib/finapps/rest/transactions.rb
finapps-0.2.13.pre lib/finapps/rest/transactions.rb
finapps-0.2.12.pre lib/finapps/rest/transactions.rb
finapps-0.2.11.pre lib/finapps/rest/transactions.rb