module Qingting::Api::Podcaster::ClassMethods
Class methods
Public Instance Methods
activity(activity_id)
click to toggle source
# File lib/qingting/api/podcaster.rb, line 65 def activity(activity_id) url = eval("Base.v6_activity_#{activity_id}") Base.request(url) end
now()
click to toggle source
# File lib/qingting/api/podcaster.rb, line 55 def now url = eval("Base.v6_now") Base.request(url) end
podcaster(id)
click to toggle source
# File lib/qingting/api/podcaster.rb, line 40 def podcaster(id) url = eval("Base.v6_podcasters_#{id}") Base.request(url) end
podcasters_attr(attr_ids, page=1)
click to toggle source
# File lib/qingting/api/podcaster.rb, line 35 def podcasters_attr(attr_ids, page=1) url = Base.media_url + "podcasters/attr/#{attrids}/page/#{page} " Base.request(url) end
podcasters_attributes()
click to toggle source
# File lib/qingting/api/podcaster.rb, line 20 def podcasters_attributes url = eval("Base.v6_podcasters_attributes") Base.request(url) end
podcasters_channelondemands(qingting_id)
click to toggle source
# File lib/qingting/api/podcaster.rb, line 45 def podcasters_channelondemands(qingting_id) url = eval("Base.v6_podcasters_#{qingting_id}_channelondemands") Base.request(url) end
podcasters_guides()
click to toggle source
# File lib/qingting/api/podcaster.rb, line 15 def podcasters_guides url = eval("Base.v6_podcasters_guides") Base.request(url) end
podcasters_recent(qingting_id)
click to toggle source
# File lib/qingting/api/podcaster.rb, line 50 def podcasters_recent(qingting_id) url = eval("Base.v6_podcasters_#{qingting_id}_recent") Base.request(url) end
podcasters_recommends()
click to toggle source
# File lib/qingting/api/podcaster.rb, line 30 def podcasters_recommends url = eval("Base.v6_podcasters_recommends") Base.request(url) end
podcasters_type(type, page=1)
click to toggle source
# File lib/qingting/api/podcaster.rb, line 25 def podcasters_type(type, page=1) url = Base.media_url + "podcasters/type/#{type}/page/#{page} " Base.request(url) end
topic(topic_id)
click to toggle source
# File lib/qingting/api/podcaster.rb, line 60 def topic(topic_id) url = eval("Base.v6_topic_#{topic_id}") Base.request(url) end