Sha256: e3bf2c4b3f8bb0c662d986f778dcd7bfc4130f6945f02fadf46c3ccd92490eb1

Contents?: true

Size: 523 Bytes

Versions: 53

Compression:

Stored size: 523 Bytes

Contents

require 'fog/aws/models/support/trusted_advisor_check'

module Fog
  module AWS
    class Support
      class TrustedAdvisorChecks < Fog::Collection
        model Fog::AWS::Support::TrustedAdvisorCheck

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

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

Version data entries

53 entries across 51 versions & 2 rubygems

Version Path
fog-aws-3.30.0 lib/fog/aws/models/support/trusted_advisor_checks.rb
fog-aws-3.29.0 lib/fog/aws/models/support/trusted_advisor_checks.rb
fog-aws-3.28.0 lib/fog/aws/models/support/trusted_advisor_checks.rb
fog-aws-3.27.0 lib/fog/aws/models/support/trusted_advisor_checks.rb
fog-aws-3.26.0 lib/fog/aws/models/support/trusted_advisor_checks.rb
fog-aws-3.25.0 lib/fog/aws/models/support/trusted_advisor_checks.rb
fog-aws-3.24.0 lib/fog/aws/models/support/trusted_advisor_checks.rb
fog-aws-3.23.0 lib/fog/aws/models/support/trusted_advisor_checks.rb
fog-aws-3.22.0 lib/fog/aws/models/support/trusted_advisor_checks.rb
fog-aws-3.21.1 lib/fog/aws/models/support/trusted_advisor_checks.rb
fog-aws-3.21.0 lib/fog/aws/models/support/trusted_advisor_checks.rb
fog-aws-3.20.0 lib/fog/aws/models/support/trusted_advisor_checks.rb
fog-aws-3.19.0 lib/fog/aws/models/support/trusted_advisor_checks.rb
fog-aws-3.18.0 lib/fog/aws/models/support/trusted_advisor_checks.rb
fog-aws-3.17.0 lib/fog/aws/models/support/trusted_advisor_checks.rb
fog-aws-3.16.0 lib/fog/aws/models/support/trusted_advisor_checks.rb
fog-aws-3.15.0 lib/fog/aws/models/support/trusted_advisor_checks.rb
fog-aws-3.14.0 lib/fog/aws/models/support/trusted_advisor_checks.rb
fog-aws-3.13.0 lib/fog/aws/models/support/trusted_advisor_checks.rb
fog-aws-3.12.0 lib/fog/aws/models/support/trusted_advisor_checks.rb