Class: PinchRestService
- Inherits:
-
Object
- Object
- PinchRestService
- Defined in:
- features/support/pinch_rest_service.rb
Instance Method Summary (collapse)
- - (Object) close
-
- (PinchRestService) initialize(host, port)
constructor
A new instance of PinchRestService.
- - (Object) store_msg(path, message)
Constructor Details
- (PinchRestService) initialize(host, port)
Returns a new instance of PinchRestService
5 6 7 8 9 10 11 |
# File 'features/support/pinch_rest_service.rb', line 5 def initialize(host, port) @host = host @port = port self.start_service @host, @port self.connect @host, @port self. = File.join(File.dirname('.'), "..", "..", 'features', 'messages') end |
Instance Method Details
- (Object) close
17 18 19 |
# File 'features/support/pinch_rest_service.rb', line 17 def close self.stop_service end |
- (Object) store_msg(path, message)
13 14 15 |
# File 'features/support/pinch_rest_service.rb', line 13 def store_msg(path, ) store path, end |