Class: Heft::Internal::HoistConnection
- Inherits:
-
Object
- Object
- Heft::Internal::HoistConnection
- Defined in:
- lib/heft/internal/hoist_connection.rb
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ HoistConnection
constructor
A new instance of HoistConnection.
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 |