Module: ActionWebService::SignatureTypes

Module | ActionWebService::SignatureTypes
In: | lib/action_web_service/support/signature_types.rb

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.

[Validate]