Class: Mundipagg::Boleto::Response

Inherits:
Response
  • Object
show all
Defined in:
lib/mundipagg/boleto.rb

Instance Attribute Summary

Attributes inherited from Response

#body

Instance Method Summary collapse

Methods inherited from Response

#error, #initialize, #success?

Constructor Details

This class inherits a constructor from Mundipagg::Response

Instance Method Details

#error_itemObject



26
27
28
# File 'lib/mundipagg/boleto.rb', line 26

def error_item
  payload[:error_report][:error_item_collection][:error_item]
end

#payloadObject



22
23
24
# File 'lib/mundipagg/boleto.rb', line 22

def payload
  body[:create_order_response][:create_order_result]
end