Class: RedHaze::Track
Instance Attribute Summary
#id
Instance Method Summary
collapse
#delete_endpoint, #get_endpoint, included, #initialize, #put_endpoint, #sync, #url
Instance Method Details
9
10
11
|
# File 'lib/red_haze/track.rb', line 9
def
get_endpoint('/comments')
end
|
#favoriters ⇒ Object
5
6
7
|
# File 'lib/red_haze/track.rb', line 5
def favoriters
get_endpoint('/favoriters')
end
|
#owner ⇒ Object
17
18
19
20
|
# File 'lib/red_haze/track.rb', line 17
def owner
sync if user_id.nil?
User.new(user_id)
end
|
#shared_to ⇒ Object
13
14
15
|
# File 'lib/red_haze/track.rb', line 13
def shared_to
get_endpoint('/shared_to/users')
end
|