Class: Jets::Api::Release

Inherits:
Base
  • Object
show all
Defined in:
lib/jets/api/release.rb

Class Method Summary collapse

Methods included from Jets::Api

#api, #api_key

Class Method Details

.create(params = {}) ⇒ Object



12
13
14
# File 'lib/jets/api/release.rb', line 12

def create(params = {})
  api.post("/releases", params)
end

.list(params = {}) ⇒ Object



4
5
6
# File 'lib/jets/api/release.rb', line 4

def list(params = {})
  api.get("/releases", params)
end

.retrieve(id, params = {}) ⇒ Object



8
9
10
# File 'lib/jets/api/release.rb', line 8

def retrieve(id, params = {})
  api.get("/releases/#{id}", params)
end