Method: Inkit#initialize

Defined in:
lib/inkit.rb

#initialize(options) ⇒ Inkit

Constructor



15
16
17
18
19
20
# File 'lib/inkit.rb', line 15

def initialize(options)
  raise 'Please provide your secret key!' unless options[:secret]
  @secret = options[:secret].to_s
  @token = options[:token].to_s
  @cache = Cache.new(@secret)
end