Class: Kippt::User
Instance Method Summary
collapse
Methods included from Resource
#destroy, included, #initialize, #save, #writable_attributes_hash
Instance Method Details
#clips ⇒ Object
27
28
29
|
# File 'lib/kippt/user.rb', line 27
def clips
Kippt::UserClips.new(client, self)
end
|
#collection_resource_class ⇒ Object
19
20
21
|
# File 'lib/kippt/user.rb', line 19
def collection_resource_class
Kippt::Users
end
|
#follower_count ⇒ Object
48
49
50
|
# File 'lib/kippt/user.rb', line 48
def follower_count
counts["follows"]
end
|
#followers ⇒ Object
31
32
33
|
# File 'lib/kippt/user.rb', line 31
def followers
Kippt::Followers.new(client, self)
end
|
#following ⇒ Object
35
36
37
|
# File 'lib/kippt/user.rb', line 35
def following
Kippt::Following.new(client, self)
end
|
#following? ⇒ Boolean
Tells if authenticated user is following the user.
#following_count ⇒ Object
52
53
54
|
# File 'lib/kippt/user.rb', line 52
def following_count
counts["followed_by"]
end
|
#likes ⇒ Object
39
40
41
|
# File 'lib/kippt/user.rb', line 39
def likes
Kippt::UserLikes.new(client, self)
end
|
#lists ⇒ Object
23
24
25
|
# File 'lib/kippt/user.rb', line 23
def lists
Kippt::UserLists.new(client, self)
end
|