Class: SimpleTwitterOAuth::RequestToken
- Inherits:
-
Object
- Object
- SimpleTwitterOAuth::RequestToken
- Defined in:
- lib/simple_twitter_oauth/request_token.rb
Instance Attribute Summary collapse
-
#authorize_url ⇒ Object
readonly
Returns the value of attribute authorize_url.
-
#secret ⇒ Object
readonly
Returns the value of attribute secret.
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize(token:, secret:, authorize_url:) ⇒ RequestToken
constructor
private
A new instance of RequestToken.
Constructor Details
#initialize(token:, secret:, authorize_url:) ⇒ RequestToken
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of RequestToken.
6 7 8 9 10 11 |
# File 'lib/simple_twitter_oauth/request_token.rb', line 6 def initialize(token:, secret:, authorize_url:) @token = token @secret = secret @authorize_url = freeze end |
Instance Attribute Details
#authorize_url ⇒ Object (readonly)
Returns the value of attribute authorize_url.
3 4 5 |
# File 'lib/simple_twitter_oauth/request_token.rb', line 3 def @authorize_url end |
#secret ⇒ Object (readonly)
Returns the value of attribute secret.
3 4 5 |
# File 'lib/simple_twitter_oauth/request_token.rb', line 3 def secret @secret end |
#token ⇒ Object (readonly)
Returns the value of attribute token.
3 4 5 |
# File 'lib/simple_twitter_oauth/request_token.rb', line 3 def token @token end |