Class: BloomRemitClient::CreateTxnResponse
- Inherits:
-
BaseResponse
- Object
- BaseResponse
- BloomRemitClient::CreateTxnResponse
- Defined in:
- lib/bloom_remit_client/responses/create_txn_response.rb
Instance Method Summary collapse
Methods inherited from BaseResponse
#default_body, #default_parsed_body
Instance Method Details
#default_errors ⇒ Object
7 8 9 |
# File 'lib/bloom_remit_client/responses/create_txn_response.rb', line 7 def default_errors Array(parsed_body[:errors]) end |
#default_txn ⇒ Object
11 12 13 |
# File 'lib/bloom_remit_client/responses/create_txn_response.rb', line 11 def default_txn Txn.new(parsed_body[:txn]) end |