Class: Okonomi::Taskmanager::Namespaces
- Defined in:
- lib/okonomi/taskmanager/namespaces.rb
Instance Attribute Summary
Attributes inherited from Resource
#api_url, #jwt_token, #root_node_plural, #root_node_singular
Instance Method Summary collapse
-
#initialize(base_url: nil, jwt_token: nil) ⇒ Namespaces
constructor
A new instance of Namespaces.
Methods inherited from Resource
#all, #create, #destroy, #find, #update
Constructor Details
#initialize(base_url: nil, jwt_token: nil) ⇒ Namespaces
6 7 8 9 10 11 12 13 |
# File 'lib/okonomi/taskmanager/namespaces.rb', line 6 def initialize(base_url: nil, jwt_token: nil) super( root_node_singular: "namespace", root_node_plural: "namespaces", api_url: "#{base_url}/namespaces", jwt_token: jwt_token ) end |