Class: Heft::Internal::HoistConnection

Inherits:
Object
  • Object
show all
Defined in:
lib/heft/internal/hoist_connection.rb

Instance Method Summary collapse

Constructor Details

#initialize(opts = {}) ⇒ HoistConnection

Returns a new instance of HoistConnection.



4
5
6
7
# File 'lib/heft/internal/hoist_connection.rb', line 4

def initialize(opts={})
  @internet = opts[:internet] || fail("You need to supply :internet")
  @api_key  = opts[:api_key]  || fail("You need to supply :api_key")
end