lib/loquor/resource.rb in loquor-0.6.0 vs lib/loquor/resource.rb in loquor-0.7.0
- old
+ new
@@ -42,10 +42,10 @@
def self.where(*args)
ApiCall::Index.new(self).where(*args)
end
def self.create(payload)
- ApiCall::Create.new(self, payload).execute
+ ApiCall::Create.new(self, payload: payload).execute
end
def self.update(id, payload)
ApiCall::Update.new(self, id, payload: payload).execute
end