Method: ActionWebService::API::Base.api_method_name
- Defined in:
- lib/action_web_service/api.rb
.api_method_name(public_name) ⇒ Object
The corresponding service method name for the given public method name
class ProjectsApi < ActionWebService::API::Base
api_method :getCount, :returns => [:int]
end
ProjectsApi.api_method_name('GetCount') #=> :getCount
140 141 142 |
# File 'lib/action_web_service/api.rb', line 140 def api_method_name(public_name) api_public_method_names[public_name] end |