Class: Dock::Api::Schemas
- Inherits:
-
Base
- Object
- Base
- Dock::Api::Schemas
show all
- Defined in:
- lib/dock/api/endpoints/schemas.rb
Constant Summary
collapse
- NAMESPACE =
'/schemas'
Class Method Summary
collapse
Methods inherited from Base
connection, delete, get, patch, post
Class Method Details
.create(attrs = {}) ⇒ Object
17
18
19
|
# File 'lib/dock/api/endpoints/schemas.rb', line 17
def create(attrs = {})
post(NAMESPACE, attrs)
end
|
.find(id) ⇒ Object
13
14
15
|
# File 'lib/dock/api/endpoints/schemas.rb', line 13
def find(id)
get("#{NAMESPACE}/#{id}")
end
|
.list ⇒ Object
9
10
11
|
# File 'lib/dock/api/endpoints/schemas.rb', line 9
def list
get(NAMESPACE)
end
|