lib/loquor/resource.rb in loquor-0.3.0 vs lib/loquor/resource.rb in loquor-0.4.0
- old
+ new
@@ -30,7 +30,11 @@
end
def self.create(payload)
ApiCall::Create.new(self, payload).execute
end
+
+ def self.update(id, payload)
+ ApiCall::Update.new(self, id, payload: payload).execute
+ end
end
end