Class: Project
Instance Method Summary collapse
- #deleteproject(name) ⇒ Object
-
#initialize ⇒ Project
constructor
A new instance of Project.
- #listprojects ⇒ Object
Methods inherited from OcpApi
Methods inherited from V1
Methods inherited from Base
#create, #delete, #list, #setup, #update
Constructor Details
#initialize ⇒ Project
Returns a new instance of Project.
27 28 29 |
# File 'lib/base/v1/ocpapi/Project.rb', line 27 def initialize super("projects") end |
Instance Method Details
#deleteproject(name) ⇒ Object
37 38 39 40 41 |
# File 'lib/base/v1/ocpapi/Project.rb', line 37 def deleteproject(name) data = nil data = delete(name) return data end |
#listprojects ⇒ Object
31 32 33 34 35 |
# File 'lib/base/v1/ocpapi/Project.rb', line 31 def listprojects data = nil data = list return data end |