Class: BitFlyer::Models::Health
- Inherits:
-
Object
- Object
- BitFlyer::Models::Health
- Defined in:
- lib/bit_flyer/models/health.rb
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ Health
constructor
A new instance of Health.
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
#status ⇒ Object (readonly)
Returns the value of attribute status.
4 5 6 |
# File 'lib/bit_flyer/models/health.rb', line 4 def status @status end |