lib/nicoapi.rb in nicoapi-0.0.1 vs lib/nicoapi.rb in nicoapi-0.0.4.1

- old
+ new

@@ -1,10 +1,10 @@ -require "nicoapi/version" +require "NicoAPI/version" -require "nicoapi/getthumbinfo" -require "nicoapi/tag_search" -require "nicoapi/video_array" +require "NicoAPI/getthumbinfo" +require "NicoAPI/tag_search" +require "NicoAPI/video_array" module NicoAPI def getthumbinfo(video_id) instance = NicoAPI::GetThumbInfo.new @@ -16,12 +16,12 @@ instance = NicoAPI::VideoArray.new instance.set video_id_array instance.get end - def tag_search(tag: tag, sort: sort, order: order) + def tag_search(tag: tag, sort: sort, order: order, page: page) instance = NicoAPI::TagSearch.new - instance.set tag: tag, sort: sort, order: order + instance.set tag: tag, sort: sort, order: order, page: page instance.get end module_function :getthumbinfo module_function :video_array