static public Method

Service.new(name, real_service)

There's no documentation for this item.

Source Code

# File action_web_service/scaffolding.rb, line 263
def initialize(name, real_service)
  @name = name.to_s
  @object = real_service
  @api = @object.class.web_service_api
  if @api.nil?
    raise ScaffoldingError, "No web service API attached to #{object.class}"
  end
  @api_methods = {}
  @api_methods_full = []
  @api.api_methods.each do |name, method|
    @api_methods[method.public_name.to_s] = method
    @api_methods_full << [method.to_s, method.public_name.to_s]
  end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.