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



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

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