Class: Pokepay::Response::Echo
- Inherits:
-
Object
- Object
- Pokepay::Response::Echo
- Defined in:
- lib/pokepay_partner_ruby_sdk/response/echo.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(row) ⇒ Echo
constructor
A new instance of Echo.
Constructor Details
#initialize(row) ⇒ Echo
Returns a new instance of Echo.
6 7 8 9 |
# File 'lib/pokepay_partner_ruby_sdk/response/echo.rb', line 6 def initialize(row) @status = row["status"] @message = row["message"] end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
11 12 13 |
# File 'lib/pokepay_partner_ruby_sdk/response/echo.rb', line 11 def @message end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
10 11 12 |
# File 'lib/pokepay_partner_ruby_sdk/response/echo.rb', line 10 def status @status end |