Module: Sentiment

Defined in:
lib/sentiment.rb,
lib/sentiment/client.rb,
lib/sentiment/version.rb

Defined Under Namespace

Classes: Client

Constant Summary collapse

VERSION =
"0.0.2"

Class Method Summary collapse

Class Method Details

.api_keyObject

Get your API key from developer.apphera.com

Raises:



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

def self.api_key
  raise APIKeyNotSet if @api_key.nil?
  @api_key
end

.api_key=(api_key) ⇒ Object



18
19
20
# File 'lib/sentiment.rb', line 18

def self.api_key=(api_key)
  @api_key = api_key
end