Class: Airbrush::Publishers::Http
- Defined in:
- lib/airbrush/publishers/http.rb
Instance Method Summary collapse
-
#initialize(target) ⇒ Http
constructor
A new instance of Http.
- #publish(result) ⇒ Object
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 |