Class: Pokepay::Response::Echo

Inherits:
Object
  • Object
show all
Defined in:
lib/pokepay_partner_ruby_sdk/response/echo.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#messageObject (readonly)

Returns the value of attribute message.



11
12
13
# File 'lib/pokepay_partner_ruby_sdk/response/echo.rb', line 11

def message
  @message
end

#statusObject (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