lib/pupil/lists.rb in pupil-0.2.2 vs lib/pupil/lists.rb in pupil-0.3.0
- old
+ new
@@ -13,10 +13,10 @@
lists << List.new(list, @access_token)
end
return lists
end
- def create_list(name, param={})
- response = self.post("/1/lists/create.json", {:name => name}.update(param))
+ def create_list(name, option={})
+ response = self.post("/1/lists/create.json", {:name => name}.update(option))
return List.new(response, @access_token)
end
end
\ No newline at end of file