Sha256: 4eee937189b29fc75a2fc5c1a5d974417727214f8b4fcabbfe6884c693043d9c

Contents?: true

Size: 398 Bytes

Versions: 2

Compression:

Stored size: 398 Bytes

Contents

#!/usr/bin/env ruby

$: << File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'hydraulic_brake'

fail "Please supply an API Key as the first argument" if ARGV.empty?

host = ARGV[1]

secure = (ARGV[2] == "secure")

HydraulicBrake.configure do |config|
  config.secure  = secure
  config.host    = host
  config.api_key = ARGV.first
end

HydraulicBrake::TestNotification.send

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hydraulic_brake-0.2.0 script/notify_integration_test.rb
hydraulic_brake-0.1.0 script/notify_integration_test.rb