Class: BitFlyer::Models::Health

Inherits:
Object
  • Object
show all
Defined in:
lib/bit_flyer/models/health.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attrs = {}) ⇒ Health

Returns a new instance of Health.



6
7
8
# File 'lib/bit_flyer/models/health.rb', line 6

def initialize(attrs = {})
  @status = attrs['status']
end

Instance Attribute Details

#statusObject (readonly)

Returns the value of attribute status.



4
5
6
# File 'lib/bit_flyer/models/health.rb', line 4

def status
  @status
end