Class: Cyclid::API::Plugins::Api
Overview
Base class for Api plugins
Direct Known Subclasses
Class Method Summary collapse
-
.controller ⇒ Object
Return a new instance of the Sinatra controller.
-
.human_name ⇒ Object
Return the ‘human’ name for the plugin type.
Methods inherited from Base
config?, config_schema, default_config, get_config, register_plugin, set_config, update_config
Class Method Details
.controller ⇒ Object
Return a new instance of the Sinatra controller
175 176 177 |
# File 'app/cyclid/plugins/api.rb', line 175 def self.controller return ApiExtension::Controller.new(ApiExtension::Methods) end |
.human_name ⇒ Object
Return the ‘human’ name for the plugin type
180 181 182 |
# File 'app/cyclid/plugins/api.rb', line 180 def self.human_name 'api' end |