Class: Telegraph::Ping

Inherits:
Object
  • Object
show all
Defined in:
lib/telegraph.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ Ping

Returns a new instance of Ping.



13
14
15
# File 'lib/telegraph.rb', line 13

def initialize(value)
  @value = value
end

Instance Attribute Details

#valueObject (readonly)

Returns the value of attribute value.



11
12
13
# File 'lib/telegraph.rb', line 11

def value
  @value
end