Class: Newque::Health_request

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#globalObject (readonly)

Returns the value of attribute global.



69
70
71
# File 'lib/newque/responses.rb', line 69

def global
  @global
end

Instance Method Details

#inspectObject



79
80
81
# File 'lib/newque/responses.rb', line 79

def inspect
  to_s
end

#to_sObject



75
76
77
# File 'lib/newque/responses.rb', line 75

def to_s
  "<Health global: #{@global.to_json}>"
end