Ruby on Rails latest stable (v7.1.3.2)
-
0 notes
- 1.0.0 (0)
- 1.1.6 (0)
- 1.2.6 (0)
- 2.0.3
- 2.1.0
- 2.2.1
- 2.3.8
- 3.0.0
- 3.0.9
- 3.1.0
- 3.2.1
- 3.2.8
- 3.2.13
- 4.0.2
- 4.1.8
- 4.2.1
- 4.2.7
- 4.2.9
- 5.0.0.1
- 5.1.7
- 5.2.3
- 6.0.0
- 6.1.3.1
- 6.1.7.7
- 7.0.0
- 7.1.3.2
- 7.1.3.4
- What's this?
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.