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
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-aws-2.0.1/lib/fog/aws/models/support/trusted_advisor_checks.rb
fog-aws-3.0.0 lib/fog/aws/models/support/trusted_advisor_checks.rb
fog-aws-2.0.1 lib/fog/aws/models/support/trusted_advisor_checks.rb
fog-aws-2.0.0 lib/fog/aws/models/support/trusted_advisor_checks.rb
fog-aws-1.4.1 lib/fog/aws/models/support/trusted_advisor_checks.rb
fog-aws-1.4.0 lib/fog/aws/models/support/trusted_advisor_checks.rb
fog-aws-1.3.0 lib/fog/aws/models/support/trusted_advisor_checks.rb
fog-aws-1.2.1 lib/fog/aws/models/support/trusted_advisor_checks.rb
fog-aws-1.2.0 lib/fog/aws/models/support/trusted_advisor_checks.rb
fog-aws-1.1.0 lib/fog/aws/models/support/trusted_advisor_checks.rb
fog-aws-1.0.0 lib/fog/aws/models/support/trusted_advisor_checks.rb
fog-aws-0.13.0 lib/fog/aws/models/support/trusted_advisor_checks.rb
fog-aws-0.12.0 lib/fog/aws/models/support/trusted_advisor_checks.rb