Class: GoogleApi::SessionMethods
- Inherits:
-
Object
- Object
- GoogleApi::SessionMethods
show all
- Defined in:
- lib/google_api/session/session_methods.rb
Class Method Summary
collapse
Class Method Details
._session ⇒ Object
4
5
6
|
# File 'lib/google_api/session/session_methods.rb', line 4
def self._session
self.class_variable_get(:@@session)
end
|
.api ⇒ Object
32
33
34
|
# File 'lib/google_api/session/session_methods.rb', line 32
def self.api
_session.api
end
|
.check_session ⇒ Object
24
25
26
|
# File 'lib/google_api/session/session_methods.rb', line 24
def self.check_session
_session.check_session
end
|
.check_session! ⇒ Object
28
29
30
|
# File 'lib/google_api/session/session_methods.rb', line 28
def self.check_session!
_session.check_session!
end
|
.client ⇒ Object
36
37
38
|
# File 'lib/google_api/session/session_methods.rb', line 36
def self.client
_session.client
end
|
.login(code = nil) ⇒ Object
16
17
18
|
# File 'lib/google_api/session/session_methods.rb', line 16
def self.login(code = nil)
_session.login(code)
end
|
.login_by_cert ⇒ Object
8
9
10
|
# File 'lib/google_api/session/session_methods.rb', line 8
def self.login_by_cert
_session.login_by_cert
end
|
.login_by_cert! ⇒ Object
12
13
14
|
# File 'lib/google_api/session/session_methods.rb', line 12
def self.login_by_cert!
_session.login_by_cert!
end
|
.login_by_line(server = 'http://localhost/oauth2callback', port = 0) ⇒ Object
20
21
22
|
# File 'lib/google_api/session/session_methods.rb', line 20
def self.login_by_line(server = 'http://localhost/oauth2callback', port = 0)
_session.login_by_line(server, port)
end
|