module NicoQuery
Constants
- VERSION
Public Class Methods
movie(args)
click to toggle source
# File lib/nicoquery.rb, line 17 def movie(args) if args.is_a? Array array = [] NicoQuery::Crawler::BulkScraping.execute(args) {|movie| array << movie } array else NicoQuery::Object::Movie.new args end end
mylist(mylist_id)
click to toggle source
# File lib/nicoquery.rb, line 13 def mylist(mylist_id) NicoQuery::Object::Mylist.new mylist_id end
tag_search(tag: tag, sort: sort, order: order, &block)
click to toggle source
# File lib/nicoquery.rb, line 9 def tag_search(tag: tag, sort: sort, order: order, &block) NicoQuery::Crawler::TagSearch.execute(tag: tag, sort: sort, order: order, &block) end
Private Instance Methods
movie(args)
click to toggle source
# File lib/nicoquery.rb, line 17 def movie(args) if args.is_a? Array array = [] NicoQuery::Crawler::BulkScraping.execute(args) {|movie| array << movie } array else NicoQuery::Object::Movie.new args end end
mylist(mylist_id)
click to toggle source
# File lib/nicoquery.rb, line 13 def mylist(mylist_id) NicoQuery::Object::Mylist.new mylist_id end
tag_search(tag: tag, sort: sort, order: order, &block)
click to toggle source
# File lib/nicoquery.rb, line 9 def tag_search(tag: tag, sort: sort, order: order, &block) NicoQuery::Crawler::TagSearch.execute(tag: tag, sort: sort, order: order, &block) end