Performs casting of arbitrary values into the correct types for the signature

Methods
Included Modules
Public Class methods
new(api_method)
    # File vendor/rails/actionwebservice/lib/action_web_service/casting.rb, line 11
11:       def initialize(api_method)
12:         @api_method = api_method
13:       end
Public Instance methods
cast_expects(params)

Coerces the parameters in params (an Enumerable) into the types this method expects

    # File vendor/rails/actionwebservice/lib/action_web_service/casting.rb, line 17
17:       def cast_expects(params)
18:         self.class.cast_expects(@api_method, params)
19:       end
cast_returns(return_value)

Coerces the given return_value into the the type returned by this method

    # File vendor/rails/actionwebservice/lib/action_web_service/casting.rb, line 23
23:       def cast_returns(return_value)
24:         self.class.cast_returns(@api_method, return_value)
25:       end