Class: Bcash::Api::CreateAccountResponse

Inherits:
AccountResponse show all
Defined in:
lib/bcash/api/create_account_response.rb

Instance Attribute Summary

Attributes inherited from Response

#body, #code, #http_code, #message, #success

Instance Method Summary collapse

Methods inherited from AccountResponse

#accounts, #cpf, #email

Methods inherited from Response

#initialize, #messages, #success?

Constructor Details

This class inherits a constructor from Bcash::Api::Response

Instance Method Details

#errorsObject



3
4
5
# File 'lib/bcash/api/create_account_response.rb', line 3

def errors
  body['errors'] || body['list']
end