require File.dirname(__FILE__) + '/bleacher_api/gems' BleacherApi::Gems.activate %w(httparty) require 'httparty' $:.unshift File.dirname(__FILE__) require 'bleacher_api/config' class BleacherApi include HTTParty class < id)) end end end class Authenticate class < email, 'user[password]' => password, 'redirect' => nil }) if result BleacherApi::Config.token result['token'] end result end def logout BleacherApi.call(:get, 'authenticate/logout') end end end class Front class < tags.join(',') }) end end end class User class < token }) end end end end