Module: Harvest

Defined in:
lib/harvest.rb,
lib/harvest/connection.rb

Overview

Exposes the Harvest API to Hammerhead.

Defined Under Namespace

Classes: Connection

Class Method Summary collapse

Class Method Details

.connectionObject

Returns the sole Harvest::Connection instance.



13
14
15
# File 'lib/harvest.rb', line 13

def connection
  Harvest::Connection.instance
end