Sha256: 265ce3e84a8712d35f5316c991b0ddb33e4b29b514a5a76d9d013e1d2d4729c7

Contents?: true

Size: 383 Bytes

Versions: 2

Compression:

Stored size: 383 Bytes

Contents

include PinchHitter

class PinchRestService

  def initialize(host, port)
    @host = host
    @port = port
    self.start_service @host, @port
    self.connect @host, @port
    self.messages_directory = File.join(File.dirname('.'), "..", "..", 'features', 'messages')
  end

  def store_msg(path, message)
    store path, message
  end

  def close
    self.stop_service
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rest_baby-0.2 features/support/pinch_rest_service.rb
rest_baby-0.1 features/support/pinch_rest_service.rb