Sha256: 9ab9f9c9d61ea568128ea5e6d7c3f86b48d4ef929327fa354df4e653e5abb2d1
Contents?: true
Size: 393 Bytes
Versions: 2
Compression:
Stored size: 393 Bytes
Contents
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
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
iremix-ruby-0.0.4 | lib/iremix.rb |
iremix-ruby-0.0.3 | lib/iremix.rb |