Class: Pokepay::Response::CashtrayAttempt
- Inherits:
-
Object
- Object
- Pokepay::Response::CashtrayAttempt
- Defined in:
- lib/pokepay_partner_ruby_sdk/response/cashtray_attempt.rb
Instance Attribute Summary collapse
-
#account ⇒ Object
readonly
Returns the value of attribute account.
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#error_message ⇒ Object
readonly
Returns the value of attribute error_message.
-
#error_type ⇒ Object
readonly
Returns the value of attribute error_type.
-
#status_code ⇒ Object
readonly
Returns the value of attribute status_code.
Instance Method Summary collapse
-
#initialize(row) ⇒ CashtrayAttempt
constructor
A new instance of CashtrayAttempt.
Constructor Details
#initialize(row) ⇒ CashtrayAttempt
Returns a new instance of CashtrayAttempt.
7 8 9 10 11 12 13 |
# File 'lib/pokepay_partner_ruby_sdk/response/cashtray_attempt.rb', line 7 def initialize(row) @account = row["account"] and AccountWithUser.new(row["account"]) @status_code = row["status_code"] @error_type = row["error_type"] @error_message = row["error_message"] @created_at = row["created_at"] end |
Instance Attribute Details
#account ⇒ Object (readonly)
Returns the value of attribute account.
14 15 16 |
# File 'lib/pokepay_partner_ruby_sdk/response/cashtray_attempt.rb', line 14 def account @account end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at.
18 19 20 |
# File 'lib/pokepay_partner_ruby_sdk/response/cashtray_attempt.rb', line 18 def created_at @created_at end |
#error_message ⇒ Object (readonly)
Returns the value of attribute error_message.
17 18 19 |
# File 'lib/pokepay_partner_ruby_sdk/response/cashtray_attempt.rb', line 17 def @error_message end |
#error_type ⇒ Object (readonly)
Returns the value of attribute error_type.
16 17 18 |
# File 'lib/pokepay_partner_ruby_sdk/response/cashtray_attempt.rb', line 16 def error_type @error_type end |
#status_code ⇒ Object (readonly)
Returns the value of attribute status_code.
15 16 17 |
# File 'lib/pokepay_partner_ruby_sdk/response/cashtray_attempt.rb', line 15 def status_code @status_code end |