module DeviseLatcheable

Constants

VERSION

Public Class Methods

initialize() click to toggle source
# File lib/devise_latcheable.rb, line 14
def self.initialize
  self.config = YAML.load(File.read('config/latch.yml'))

  self.api = ::Latch.new ::DeviseLatcheable.config['app_id'],
                         ::DeviseLatcheable.config['app_secret']
end