Module: OauthTwitter::API::Friends
- Included in:
- OauthTwitter
- Defined in:
- lib/oauth_twitter/api/friends.rb
Constant Summary collapse
- PATH =
{ :friendships_no_retweets_ids => '/1.1/friendships/no_retweets/ids.json', :friends_ids => '/1.1/friends/ids.json', :followers_ids => '/1.1/followers/ids.json', :friendships_lookup => '/1.1/friendships/lookup.json', :friendships_incoming => '/1.1/friendships/incoming.json', :friendships_outgoing => '/1.1/friendships/outgoing.json', :friendships_create => '/1.1/friendships/create.json', :friendships_destroy => '/1.1/friendships/destroy.json', :friendships_update => '/1.1/friendships/update.json', :friendships_show => '/1.1/friendships/show.json', :friends_list => '/1.1/friends/list.json', :followers_list => '/1.1/followers/list.json' }
Instance Method Summary collapse
- #followers_ids(params = {}, options = {}) ⇒ Object
- #followers_list(params = {}, options = {}) ⇒ Object
- #friends_ids(params = {}, options = {}) ⇒ Object
- #friends_list(params = {}, options = {}) ⇒ Object
- #friendships_create(params = {}, options = {}) ⇒ Object
- #friendships_destroy(params = {}, options = {}) ⇒ Object
- #friendships_incoming(params = {}, options = {}) ⇒ Object
- #friendships_lookup(params = {}, options = {}) ⇒ Object
- #friendships_no_retweets_ids(params = {}, options = {}) ⇒ Object
- #friendships_outgoing(params = {}, options = {}) ⇒ Object
- #friendships_show(params = {}, options = {}) ⇒ Object
- #friendships_update(params = {}, options = {}) ⇒ Object
Instance Method Details
#followers_ids(params = {}, options = {}) ⇒ Object
27 28 29 |
# File 'lib/oauth_twitter/api/friends.rb', line 27 def followers_ids(params={}, ={}) return send_request(:GET, PATH[:followers_ids], params, true, ) end |
#followers_list(params = {}, options = {}) ⇒ Object
63 64 65 |
# File 'lib/oauth_twitter/api/friends.rb', line 63 def followers_list(params={}, ={}) return send_request(:GET, PATH[:followers_list], params, true, ) end |
#friends_ids(params = {}, options = {}) ⇒ Object
23 24 25 |
# File 'lib/oauth_twitter/api/friends.rb', line 23 def friends_ids(params={}, ={}) return send_request(:GET, PATH[:friends_ids], params, true, ) end |
#friends_list(params = {}, options = {}) ⇒ Object
59 60 61 |
# File 'lib/oauth_twitter/api/friends.rb', line 59 def friends_list(params={}, ={}) return send_request(:GET, PATH[:friends_list], params, true, ) end |
#friendships_create(params = {}, options = {}) ⇒ Object
43 44 45 |
# File 'lib/oauth_twitter/api/friends.rb', line 43 def friendships_create(params={}, ={}) return send_request(:GET, PATH[:friendships_create], params, true, ) end |
#friendships_destroy(params = {}, options = {}) ⇒ Object
47 48 49 |
# File 'lib/oauth_twitter/api/friends.rb', line 47 def friendships_destroy(params={}, ={}) return send_request(:GET, PATH[:friendships_destroy], params, true, ) end |
#friendships_incoming(params = {}, options = {}) ⇒ Object
35 36 37 |
# File 'lib/oauth_twitter/api/friends.rb', line 35 def friendships_incoming(params={}, ={}) return send_request(:GET, PATH[:friendships_incoming], params, true, ) end |
#friendships_lookup(params = {}, options = {}) ⇒ Object
31 32 33 |
# File 'lib/oauth_twitter/api/friends.rb', line 31 def friendships_lookup(params={}, ={}) return send_request(:GET, PATH[:friendships_lookup], params, true, ) end |
#friendships_no_retweets_ids(params = {}, options = {}) ⇒ Object
19 20 21 |
# File 'lib/oauth_twitter/api/friends.rb', line 19 def friendships_no_retweets_ids(params={}, ={}) return send_request(:GET, PATH[:friendships_no_retweets_ids], params, true, ) end |
#friendships_outgoing(params = {}, options = {}) ⇒ Object
39 40 41 |
# File 'lib/oauth_twitter/api/friends.rb', line 39 def friendships_outgoing(params={}, ={}) return send_request(:GET, PATH[:friendships_outgoing], params, true, ) end |
#friendships_show(params = {}, options = {}) ⇒ Object
55 56 57 |
# File 'lib/oauth_twitter/api/friends.rb', line 55 def friendships_show(params={}, ={}) return send_request(:GET, PATH[:friendships_show], params, true, ) end |
#friendships_update(params = {}, options = {}) ⇒ Object
51 52 53 |
# File 'lib/oauth_twitter/api/friends.rb', line 51 def friendships_update(params={}, ={}) return send_request(:GET, PATH[:friendships_update], params, true, ) end |