class PagSeguro::SearchByReference

Private Instance Methods

perform_request_and_serialize() click to toggle source
# File lib/pagseguro/transaction/search/search_by_reference.rb, line 4
def perform_request_and_serialize
  @response = Request.get(@path, api_version,
    {
      reference: options[:reference],
      credentials: options[:credentials]
    })
  @errors = Errors.new(@response)
end