module Awspec::Helper::Type
Constants
- ACCOUNT_ATTRIBUTES
- TYPES
Public Class Methods
deprecate_resource_type(old_type, new_type)
click to toggle source
# File lib/awspec/helper/type.rb, line 66 def self.deprecate_resource_type(old_type, new_type) define_method(old_type) do |*args, &block| puts '' warn Color.on_red(Color.white("!!! `#{old_type}` type is deprecated. use `#{new_type}` !!!")) send(new_type, *args, &block) end end
Public Instance Methods
account()
click to toggle source
# File lib/awspec/helper/type.rb, line 58 def account Awspec::Type::Account.new end
account_attribute(key)
click to toggle source
# File lib/awspec/helper/type.rb, line 62 def account_attribute(key) Awspec::Type::AccountAttribute.new(key) end