Class: Newque::Health_request
- Inherits:
-
Object
- Object
- Newque::Health_request
- Defined in:
- lib/newque/responses.rb
Instance Attribute Summary collapse
-
#global ⇒ Object
readonly
Returns the value of attribute global.
Instance Method Summary collapse
-
#initialize(global) ⇒ Health_request
constructor
A new instance of Health_request.
- #inspect ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(global) ⇒ Health_request
Returns a new instance of Health_request.
71 72 73 |
# File 'lib/newque/responses.rb', line 71 def initialize global @global = global end |
Instance Attribute Details
#global ⇒ Object (readonly)
Returns the value of attribute global.
69 70 71 |
# File 'lib/newque/responses.rb', line 69 def global @global end |
Instance Method Details
#inspect ⇒ Object
79 80 81 |
# File 'lib/newque/responses.rb', line 79 def inspect to_s end |
#to_s ⇒ Object
75 76 77 |
# File 'lib/newque/responses.rb', line 75 def to_s "<Health global: #{@global.to_json}>" end |