class PagSeguro::SearchAbandoned
Private Instance Methods
api_version()
click to toggle source
# File lib/pagseguro/transaction/search/search_abandoned.rb, line 16 def api_version 'v2' end
perform_request_and_serialize()
click to toggle source
# File lib/pagseguro/transaction/search/search_abandoned.rb, line 4 def perform_request_and_serialize @response = Request.get(@path, api_version, { initialDate: options[:starts_at].xmlschema, finalDate: options[:ends_at].xmlschema, page: page, maxPageResults: options.fetch(:per_page, 50), credentials: options[:credentials] }) @errors = Errors.new(@response) end