Class: Notion::OAuth::Token

Inherits:
Data
  • Object
show all
Defined in:
lib/notion/oauth.rb

Instance Attribute Summary collapse

Instance Attribute Details

#access_tokenObject (readonly)

Returns the value of attribute access_token

Returns:

  • (Object)

    the current value of access_token



9
10
11
# File 'lib/notion/oauth.rb', line 9

def access_token
  @access_token
end

#bot_idObject (readonly)

Returns the value of attribute bot_id

Returns:

  • (Object)

    the current value of bot_id



9
10
11
# File 'lib/notion/oauth.rb', line 9

def bot_id
  @bot_id
end

#expires_atObject (readonly)

Returns the value of attribute expires_at

Returns:

  • (Object)

    the current value of expires_at



9
10
11
# File 'lib/notion/oauth.rb', line 9

def expires_at
  @expires_at
end

#rawObject (readonly)

Returns the value of attribute raw

Returns:

  • (Object)

    the current value of raw



9
10
11
# File 'lib/notion/oauth.rb', line 9

def raw
  @raw
end

#refresh_tokenObject (readonly)

Returns the value of attribute refresh_token

Returns:

  • (Object)

    the current value of refresh_token



9
10
11
# File 'lib/notion/oauth.rb', line 9

def refresh_token
  @refresh_token
end

#workspace_idObject (readonly)

Returns the value of attribute workspace_id

Returns:

  • (Object)

    the current value of workspace_id



9
10
11
# File 'lib/notion/oauth.rb', line 9

def workspace_id
  @workspace_id
end