lib/moysklad/resources/assortments.rb in moysklad-0.3.2 vs lib/moysklad/resources/assortments.rb in moysklad-0.3.3
- old
+ new
@@ -1,10 +1,10 @@
module Moysklad::Resources
class Assortments < Base
include LoadAll
- def self.indexed(*args)
- new(*args)
+ def self.indexed(args = {})
+ new(**args)
end
def all(params = {})
load_all(params)
end