class Imperium::AgentListChecksResponse

Public Instance Methods

[](key) click to toggle source
# File lib/imperium/agent_list_checks_response.rb, line 16
def [](key)
  checks_hash[key]
end
checks() click to toggle source
# File lib/imperium/agent_list_checks_response.rb, line 8
def checks
  @checks ||= checks_hash.values
end
checks_hash() click to toggle source
# File lib/imperium/agent_list_checks_response.rb, line 12
def checks_hash
  @checks_hash ||= (ok? ? coerced_body : {})
end
each(&block) click to toggle source
# File lib/imperium/agent_list_checks_response.rb, line 20
def each(&block)
  checks.each(&block)
end