Class: Airbrush::Publishers::Http

Inherits:
Publisher show all
Defined in:
lib/airbrush/publishers/http.rb

Instance Method Summary collapse

Constructor Details

#initialize(target) ⇒ Http

Returns a new instance of Http.



4
5
6
# File 'lib/airbrush/publishers/http.rb', line 4

def initialize(target)
  @target = target
end

Instance Method Details

#publish(result) ⇒ Object



8
9
10
# File 'lib/airbrush/publishers/http.rb', line 8

def publish(result)
  # http post/put to target
end