Class: Konstati::Tests

Inherits:
Object
  • Object
show all
Defined in:
lib/konstati/tests.rb

Class Method Summary collapse

Class Method Details

.create(params) ⇒ Object



5
6
7
# File 'lib/konstati/tests.rb', line 5

def self.create(params)
  Konstati.request(:post, '/tests', params)
end

.delete(id) ⇒ Object



13
14
15
# File 'lib/konstati/tests.rb', line 13

def self.delete(id)
  Konstati.request(:delete, '/tests/' + id)
end

.find(params = {}) ⇒ Object



9
10
11
# File 'lib/konstati/tests.rb', line 9

def self.find(params = {})
  Konstati.request(:get, '/tests', params)
end

.get(id) ⇒ Object



17
18
19
# File 'lib/konstati/tests.rb', line 17

def self.get(id)
  Konstati.request(:get, '/tests/' + id)
end