Class: Singly::Services::Twitter

Inherits:
Object
  • Object
show all
Includes:
Endpoint, Service
Defined in:
lib/singly/api/services/twitter.rb

Instance Attribute Summary

Attributes included from Endpoint

#options, #path

Instance Method Summary collapse

Methods included from Service

included, #service=, #service_endpoint

Methods included from Endpoint

#fetch, #initialize, #url, #validate

Instance Method Details

#direct_messages(params = {}) ⇒ Object



12
13
14
# File 'lib/singly/api/services/twitter.rb', line 12

def direct_messages(params={})
  service_endpoint(__method__, params)
end

#favorites(params = {}) ⇒ Object



16
17
18
# File 'lib/singly/api/services/twitter.rb', line 16

def favorites(params={})
  service_endpoint(__method__, params)
end

#following(params = {}) ⇒ Object



20
21
22
# File 'lib/singly/api/services/twitter.rb', line 20

def following(params={})
  service_endpoint(__method__, params)
end

#friends(params = {}) ⇒ Object



24
25
26
# File 'lib/singly/api/services/twitter.rb', line 24

def friends(params={})
  service_endpoint(__method__, params)
end

#mentions(params = {}) ⇒ Object



28
29
30
# File 'lib/singly/api/services/twitter.rb', line 28

def mentions(params={})
  service_endpoint(__method__, params)
end

#self(params = {}) ⇒ Object



8
9
10
# File 'lib/singly/api/services/twitter.rb', line 8

def self(params={})
  service_endpoint(__method__, params)
end

#timeline(params = {}) ⇒ Object



36
37
38
# File 'lib/singly/api/services/twitter.rb', line 36

def timeline(params={})
  service_endpoint(__method__, params)
end

#tweets(params = {}) ⇒ Object



32
33
34
# File 'lib/singly/api/services/twitter.rb', line 32

def tweets(params={})
  service_endpoint(__method__, params)
end