Class: Databasedotcom::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/databasedotcom-oauth2.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#endpointObject

Returns the value of attribute endpoint.



16
17
18
# File 'lib/databasedotcom-oauth2.rb', line 16

def endpoint
  @endpoint
end

#last_seenObject

Returns the value of attribute last_seen.



17
18
19
# File 'lib/databasedotcom-oauth2.rb', line 17

def last_seen
  @last_seen
end

#logout_flagObject

Returns the value of attribute logout_flag.



18
19
20
# File 'lib/databasedotcom-oauth2.rb', line 18

def logout_flag
  @logout_flag
end

#org_idObject

Returns the value of attribute org_id.



14
15
16
# File 'lib/databasedotcom-oauth2.rb', line 14

def org_id
  @org_id
end

#user_idObject

Returns the value of attribute user_id.



15
16
17
# File 'lib/databasedotcom-oauth2.rb', line 15

def user_id
  @user_id
end

Instance Method Details

#logoutObject



20
21
22
# File 'lib/databasedotcom-oauth2.rb', line 20

def logout
  @logout_flag = true
end