Class: Api
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(path = nil, namespace = nil) ⇒ Api
constructor
A new instance of Api.
- #showapi ⇒ Object
Methods inherited from V1
Methods inherited from Base
#create, #delete, #list, #setup, #setup_by_config_file, #update
Constructor Details
#initialize(path = nil, namespace = nil) ⇒ Api
Returns a new instance of Api.
27 28 29 |
# File 'lib/base/v1/api/Api.rb', line 27 def initialize(path=nil, namespace=nil) super("api", path, namespace) end |
Instance Method Details
#showapi ⇒ Object
31 32 33 34 35 36 |
# File 'lib/base/v1/api/Api.rb', line 31 def showapi data = nil data = list return data end |