Flowdock
Ruby on Rails latest stable (v4.2.7) - 0 notes

Module deprecated or moved

This module is deprecated or moved on the latest stable version. The last existing version (v1.2.6) is shown here.

Action Web Service supports the following base types in a signature:

:int
Represents an integer value, will be cast to an integer using Integer(value)
:string
Represents a string value, will be cast to an string using the to_s method on an object
:base64
Represents a Base 64 value, will contain the binary bytes of a Base 64 value sent by the caller
:bool
Represents a boolean value, whatever is passed will be cast to boolean (true, ‘1’, ‘true’, ‘y’, ‘yes’ are taken to represent true; false, ‘0’, ‘false’, ‘n’, ‘no’ and nil represent false)
:float
Represents a floating point value, will be cast to a float using Float(value)
:time
Represents a timestamp, will be cast to a Time object
:datetime
Represents a timestamp, will be cast to a DateTime object
:date
Represents a date, will be cast to a Date object

For structured types, you’ll need to pass in the Class objects of ActionWebService::Struct and ActiveRecord::Base derivatives.

Show files where this module is defined (1 file)
Register or log in to add new notes.