Class: Threads::API::OAuth2::Client::ShortLivedResponse

Inherits:
Struct
  • Object
show all
Defined in:
lib/threads/api/oauth2/client.rb

Instance Attribute Summary collapse

Instance Attribute Details

#access_tokenObject

Returns the value of attribute access_token

Returns:

  • (Object)

    the current value of access_token



5
6
7
# File 'lib/threads/api/oauth2/client.rb', line 5

def access_token
  @access_token
end

#codeObject

Returns the value of attribute code

Returns:

  • (Object)

    the current value of code



5
6
7
# File 'lib/threads/api/oauth2/client.rb', line 5

def code
  @code
end

#error_messageObject

Returns the value of attribute error_message

Returns:

  • (Object)

    the current value of error_message



5
6
7
# File 'lib/threads/api/oauth2/client.rb', line 5

def error_message
  @error_message
end

#error_typeObject

Returns the value of attribute error_type

Returns:

  • (Object)

    the current value of error_type



5
6
7
# File 'lib/threads/api/oauth2/client.rb', line 5

def error_type
  @error_type
end

#user_idObject

Returns the value of attribute user_id

Returns:

  • (Object)

    the current value of user_id



5
6
7
# File 'lib/threads/api/oauth2/client.rb', line 5

def user_id
  @user_id
end