lib/nicoapi/video_array.rb in nicoapi-0.0.4.1 vs lib/nicoapi/video_array.rb in nicoapi-0.0.6
- old
+ new
@@ -1,14 +1,15 @@
-require 'NicoAPI/base'
+require 'nicoapi/base'
module NicoAPI
class VideoArray
include NicoAPI::Base
- def set(video_id_array)
+ def initialize(video_id_array)
+ @video_id_array = video_id_array
@dynamic_segment = ''
- @params_array = params_array video_id_array
+ @params_array = params_array @video_id_array
end
private
def host
'i.nicovideo.jp'