Class: Fog::AWS::Support::TrustedAdvisorChecks

Inherits:
Collection
  • Object
show all
Defined in:
lib/fog/aws/models/support/trusted_advisor_checks.rb

Instance Method Summary collapse

Instance Method Details

#allObject



9
10
11
12
# File 'lib/fog/aws/models/support/trusted_advisor_checks.rb', line 9

def all
  data = service.describe_trusted_advisor_checks.body['checks']
  load(data)
end

#get(id) ⇒ Object



14
15
16
17
# File 'lib/fog/aws/models/support/trusted_advisor_checks.rb', line 14

def get(id)
  data = service.describe_trusted_advisor_check_result(:id => id).body['result']
  new(data).populate_extended_attributes
end