Class: PagSeguro::Installment::Response

Inherits:
Object
  • Object
show all
Defined in:
lib/pagseguro/installment/response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(errors = Errors.new) ⇒ Response

Returns a new instance of Response.



7
8
9
# File 'lib/pagseguro/installment/response.rb', line 7

def initialize(errors = Errors.new)
  @errors = errors
end

Instance Attribute Details

#errorsObject (readonly)

Set the response errors.



5
6
7
# File 'lib/pagseguro/installment/response.rb', line 5

def errors
  @errors
end