Twitter::AuthenticatedUserMixin::InstanceMethods

Public Instance Methods

befriend(user) click to toggle source

Adds given user as a friend. Returns user object as given by Twitter REST server response.

For user argument you may pass in the unique integer user ID, screen name or Twitter::User object representation.

     # File lib/twitter/model.rb, line 143
143:       def befriend(user)
144:         @client.friend(:add, user)
145:       end
defriend(user) click to toggle source

Removes given user as a friend. Returns user object as given by Twitter REST server response.

For user argument you may pass in the unique integer user ID, screen name or Twitter::User object representation.

     # File lib/twitter/model.rb, line 152
152:       def defriend(user)
153:         @client.friend(:remove, user)
154:       end
followers(options = {}) click to toggle source

Returns an Array of user objects that represents the authenticated user’s friends on Twitter.

     # File lib/twitter/model.rb, line 134
134:       def followers(options = {})
135:         @client.my(:followers, options)
136:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.