Module: JustTheRecipe

Defined in:
lib/just-the-recipe/version.rb

Defined Under Namespace

Classes: CLI, Cookbook, Recipe, Scraper, Searcher

Constant Summary collapse

VERSION =
"0.13.0"
@@app_id =
ENV["APP_ID"]
@@app_key =
ENV["APP_KEY"]

Class Method Summary collapse

Class Method Details

.app_idObject



12
13
14
# File 'lib/just-the-recipe/version.rb', line 12

def self.app_id
    @@app_id
end

.app_keyObject



16
17
18
# File 'lib/just-the-recipe/version.rb', line 16

def self.app_key
    @@app_key
end

.authorize(app_id, app_key) ⇒ Object



7
8
9
10
# File 'lib/just-the-recipe/version.rb', line 7

def self.authorize(app_id, app_key)
    @@app_id = app_id
    @@app_key = app_key
end