A custom implementation of Hash that allows us to access hash values using dot notation
@example Access the hash keys in the standard way or using dot notation
foo[:bar] => "baz" foo.bar => "baz"
# File lib/AWS.rb, line 46 def does_not_have?(key) self[key].nil? || self[key].to_s.empty? end
# File lib/AWS.rb, line 42 def has?(key) self[key] && !self[key].to_s.empty? end
# File lib/AWS.rb, line 32 def method_missing(meth, *args, &block) if args.size == 0 self[meth.to_s] || self[meth.to_sym] end end
# File lib/AWS.rb, line 38 def type self['type'] end