Class: Quber::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/quber/client.rb

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Client

Returns a new instance of Client.



3
4
5
# File 'lib/quber/client.rb', line 3

def initialize options = {}
  @http = HTTP.new options
end

Instance Method Details

#put(options = {}) ⇒ Object



7
8
9
# File 'lib/quber/client.rb', line 7

def put options = {}
  @http.post('jobs', options)
end