Class: Shiro::Deployment
- Inherits:
-
Object
- Object
- Shiro::Deployment
- Defined in:
- lib/shiro/deployment.rb
Class Method Summary collapse
Class Method Details
.client ⇒ Object
13 14 15 |
# File 'lib/shiro/deployment.rb', line 13 def self.client @client ||= Client.new end |
.list ⇒ Object
3 4 5 |
# File 'lib/shiro/deployment.rb', line 3 def self.list client.get("/deployments").parsed_response end |
.retrieve(id) ⇒ Object
7 8 9 |
# File 'lib/shiro/deployment.rb', line 7 def self.retrieve(id) client.get("/deployments/#{id}").parsed_response end |