Module: Rotten

Defined in:
lib/rotten/api.rb,
lib/rotten.rb,
lib/rotten/cast.rb,
lib/rotten/actor.rb,
lib/rotten/movie.rb,
lib/rotten/version.rb

Overview

API behaviors Set your API key with:

Rotten.api_key = 'your_key'

Defined Under Namespace

Modules: Api Classes: Actor, Cast, Movie

Constant Summary collapse

VERSION =
"0.2.0"

Class Method Summary collapse

Class Method Details

.api_keyObject



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

def api_key
  @api_key
end

.api_key=(val) ⇒ Object



10
11
12
# File 'lib/rotten.rb', line 10

def api_key=(val)
  @api_key = val
end