Class: Mystro::Client::Compute
- Inherits:
-
Base
- Object
- Base
- Mystro::Client::Compute
show all
- Defined in:
- lib/mystro/client/compute.rb
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#destroy(id) ⇒ Object
20
21
22
|
# File 'lib/mystro/client/compute.rb', line 20
def destroy(id)
api_get("computes/#{id}")
end
|
#list ⇒ Object
4
5
6
|
# File 'lib/mystro/client/compute.rb', line 4
def list
api_get("computes")
end
|
#search(pattern) ⇒ Object
8
9
10
|
# File 'lib/mystro/client/compute.rb', line 8
def search(pattern)
api_get("computes/search/#{pattern}")
end
|
#show(id) ⇒ Object
12
13
14
|
# File 'lib/mystro/client/compute.rb', line 12
def show(id)
api_get("computes/#{id}")
end
|