require "iremix/version" require 'iremix/config' require 'iremix/token' require 'iremix/user' module Iremix class << self attr_accessor :config def callback_url config.callback_url end def authorize_url(client) client.auth_code.authorize_url(:redirect_url => callback_url) end private def config @config ||= Iremix::Config end end end