Class: Jets::Api::Sig

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

Class Method Summary collapse

Methods included from Jets::Api

#api, #api_key

Class Method Details

.create(params = {}) ⇒ Object



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

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

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



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

def update(id, params = {})
  api.put("sigs/#{id}", params)
end