Class: Kentaa::Api::Clients::Projects
- Inherits:
-
Base
- Object
- Base
- Kentaa::Api::Clients::Projects
show all
- Includes:
- All
- Defined in:
- lib/kentaa/api/clients/projects.rb
Instance Attribute Summary
Attributes inherited from Base
#config
Instance Method Summary
collapse
Methods included from All
#all
Methods inherited from Base
#initialize
Instance Method Details
#get(id, options = {}) ⇒ Object
14
15
16
17
|
# File 'lib/kentaa/api/clients/projects.rb', line 14
def get(id, options = {})
project = Kentaa::Api::Resources::Project.new(config, options.merge(id: id))
project.load
end
|
#list(options = {}) ⇒ Object
9
10
11
12
|
# File 'lib/kentaa/api/clients/projects.rb', line 9
def list(options = {})
projects = Kentaa::Api::Resources::Projects.new(config, options)
projects.load
end
|