Class: XMLRPC::Create

Inherits:
Object
  • Object
show all
Defined in:
lib/action_web_service/protocol/xmlrpc_protocol.rb

Instance Method Summary collapse

Instance Method Details

#wrong_type(value) ⇒ Object



10
11
12
13
14
15
16
# File 'lib/action_web_service/protocol/xmlrpc_protocol.rb', line 10

def wrong_type(value)
  if BigDecimal === value
    [true, value.to_f]
  else
    false
  end
end