method

new

rails latest stable - Class: ActionWebService::API::Method

Method deprecated or moved

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

new(name, public_name, expects, returns)
public

No documentation available.

# File actionwebservice/lib/action_web_service/api.rb, line 172
      def initialize(name, public_name, expects, returns)
        @name = name
        @public_name = public_name
        @expects = expects
        @returns = returns
        @caster = ActionWebService::Casting::BaseCaster.new(self)
      end