class Tamber::Discover
Public Class Methods
daily(params={})
click to toggle source
# File lib/tamber/discover.rb, line 18 def self.daily(params={}) response = request(:get, self.daily_url, params) Util.convert_to_tamber_object(response) end
daily_url()
click to toggle source
# File lib/tamber/discover.rb, line 65 def self.daily_url url + '/daily' end
hot(params={})
click to toggle source
# File lib/tamber/discover.rb, line 33 def self.hot(params={}) response = request(:get, self.hot_url, params) Util.convert_to_tamber_object(response) end
hot_url()
click to toggle source
# File lib/tamber/discover.rb, line 77 def self.hot_url url + '/hot' end
meta(params={})
click to toggle source
# File lib/tamber/discover.rb, line 23 def self.meta(params={}) response = request(:get, self.meta_url, params) Util.convert_to_tamber_object(response) end
meta_url()
click to toggle source
# File lib/tamber/discover.rb, line 69 def self.meta_url url + '/meta' end
new(params={})
click to toggle source
# File lib/tamber/discover.rb, line 43 def self.new(params={}) response = request(:get, self.new_url, params) Util.convert_to_tamber_object(response) end
new_url()
click to toggle source
# File lib/tamber/discover.rb, line 85 def self.new_url url + '/new' end
next(params={})
click to toggle source
# File lib/tamber/discover.rb, line 3 def self.next(params={}) response = request(:get, self.next_url, params) Util.convert_to_tamber_object(response) end
next_url()
click to toggle source
# File lib/tamber/discover.rb, line 57 def self.next_url url + '/next' end
popular(params={})
click to toggle source
# File lib/tamber/discover.rb, line 28 def self.popular(params={}) response = request(:get, self.popular_url, params) Util.convert_to_tamber_object(response) end
popular_url()
click to toggle source
# File lib/tamber/discover.rb, line 73 def self.popular_url url + '/popular' end
recommended(params={})
click to toggle source
# File lib/tamber/discover.rb, line 8 def self.recommended(params={}) response = request(:get, self.recommended_url, params) Util.convert_to_tamber_object(response) end
recommended_url()
click to toggle source
# File lib/tamber/discover.rb, line 53 def self.recommended_url url + '/recommended' end
uac(params={})
click to toggle source
# File lib/tamber/discover.rb, line 38 def self.uac(params={}) response = request(:get, self.uac_url, params) Util.convert_to_tamber_object(response) end
uac_url()
click to toggle source
# File lib/tamber/discover.rb, line 81 def self.uac_url url + '/uac' end
weekly(params={})
click to toggle source
# File lib/tamber/discover.rb, line 13 def self.weekly(params={}) response = request(:get, self.weekly_url, params) Util.convert_to_tamber_object(response) end
weekly_url()
click to toggle source
# File lib/tamber/discover.rb, line 61 def self.weekly_url url + '/weekly' end