Module: SchoolFriend

Extended by:
Forwardable
Defined in:
lib/school_friend.rb,
lib/school_friend/session.rb,
lib/school_friend/version.rb,
lib/school_friend/rest/auth.rb,
lib/school_friend/rest/share.rb,
lib/school_friend/rest/users.rb,
lib/school_friend/api_methods.rb,
lib/school_friend/rest/events.rb,
lib/school_friend/rest/photos.rb,
lib/school_friend/rest/stream.rb,
lib/school_friend/rest/widget.rb,
lib/school_friend/rest/friends.rb,
lib/school_friend/rest/payment.rb,
lib/school_friend/rest/messages.rb,
lib/school_friend/rest/callbacks.rb,
lib/school_friend/rest/photos_v2.rb,
lib/school_friend/rest/discussions.rb,
lib/school_friend/rest/notifications.rb

Defined Under Namespace

Modules: APIMethods, REST Classes: Session

Constant Summary collapse

REST_NAMESPACES =
%w[auth callbacks discussions events friends messages notifications payment photos photos_v2 share stream stream users widget].freeze
VERSION =
'0.1.1'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.api_serverObject

Returns the value of attribute api_server.



10
11
12
# File 'lib/school_friend.rb', line 10

def api_server
  @api_server
end

.application_idObject

Returns the value of attribute application_id.



10
11
12
# File 'lib/school_friend.rb', line 10

def application_id
  @application_id
end

.application_keyObject

Returns the value of attribute application_key.



10
11
12
# File 'lib/school_friend.rb', line 10

def application_key
  @application_key
end

.loggerObject

Returns the value of attribute logger.



10
11
12
# File 'lib/school_friend.rb', line 10

def logger
  @logger
end

.secret_keyObject

Returns the value of attribute secret_key.



10
11
12
# File 'lib/school_friend.rb', line 10

def secret_key
  @secret_key
end

Class Method Details

.session(options = {}) ⇒ Object



14
15
16
# File 'lib/school_friend.rb', line 14

def session(options = {})
  Session.new(options)
end