module AWS::Core::OptionGrammar::Descriptors::Bigdecimal

def hash_format(value)

def hash_format(value)
  BigDecimal(value.to_s)
end

def validate(value, context = nil)

def validate(value, context = nil)
  raise format_error("decimal value", context) unless
    value.kind_of?(Numeric) or
    value.respond_to?(:to_int)
end