Class: Kitchen::Driver::Static::Queueing::Json

Inherits:
Base
  • Object
show all
Defined in:
lib/kitchen/driver/queueing/json.rb

Instance Attribute Summary

Attributes inherited from Base

#banner, #env_vars, #options, #release_options, #request_options

Instance Method Summary collapse

Methods inherited from Base

#banner?, descendants

Constructor Details

#initialize(options = {}) ⇒ Json

Returns a new instance of Json.



7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'lib/kitchen/driver/queueing/json.rb', line 7

def initialize(options = {})
  super

  default_handler_options({
    mode:    :wait, # :wait, :repeat, ?
    method:  :get,  # :get, :post
    data:    '',
    query:   {},
    map:     {}
  })

  kitchen_handler_options options
end

Instance Method Details

#releaseObject



27
28
29
30
31
# File 'lib/kitchen/driver/queueing/json.rb', line 27

def release
  super

  # TODO
end

#requestObject



21
22
23
24
25
# File 'lib/kitchen/driver/queueing/json.rb', line 21

def request
  super

  # TODO
end