Class: Pokepay::Response::Pong

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(row) ⇒ Pong

Returns a new instance of Pong.



6
7
8
# File 'lib/pokepay_partner_ruby_sdk/response/pong.rb', line 6

def initialize(row)
  @pong = row["pong"]
end

Instance Attribute Details

#pongObject (readonly)

Returns the value of attribute pong.



9
10
11
# File 'lib/pokepay_partner_ruby_sdk/response/pong.rb', line 9

def pong
  @pong
end