Class: Twat::Endpoints::Twitter
- Inherits:
-
Base
- Object
- Base
- Twat::Endpoints::Twitter
show all
- Defined in:
- lib/twat/endpoints/twitter.rb
Instance Method Summary
collapse
Methods inherited from Base
#authorize_account, #config
Instance Method Details
#consumer_info ⇒ Object
8
9
10
11
12
13
|
# File 'lib/twat/endpoints/twitter.rb', line 8
def consumer_info
{
consumer_key: "jtI2q3Z4NIJAehBG4ntPIQ",
consumer_secret: "H6vQOGGn9qVJJa9lWyTd2s8ZZRXG4kh3SMfvZ2uxOXE"
}
end
|
#endpoint_name ⇒ Object
19
20
21
|
# File 'lib/twat/endpoints/twitter.rb', line 19
def endpoint_name
:twitter
end
|
#oauth_options ⇒ Object
15
16
17
|
# File 'lib/twat/endpoints/twitter.rb', line 15
def oauth_options
{}
end
|
#url ⇒ Object
4
5
6
|
# File 'lib/twat/endpoints/twitter.rb', line 4
def url
"https://api.twitter.com/"
end
|