Class: Twat::Endpoints::Twitter

Inherits:
Base
  • Object
show all
Defined in:
lib/twat/endpoints/twitter.rb

Instance Method Summary collapse

Methods inherited from Base

#authorize_account, #config

Instance Method Details

#consumer_infoObject



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_nameObject



19
20
21
# File 'lib/twat/endpoints/twitter.rb', line 19

def endpoint_name
  :twitter
end

#oauth_optionsObject



15
16
17
# File 'lib/twat/endpoints/twitter.rb', line 15

def oauth_options
  {}
end

#urlObject



4
5
6
# File 'lib/twat/endpoints/twitter.rb', line 4

def url
  "https://api.twitter.com/"
end