lib/kintone/command/records.rb in kintone-0.1.2 vs lib/kintone/command/records.rb in kintone-0.1.3

- old
+ new

@@ -13,19 +13,17 @@ def register(app, records) @api.post(@url, app: app, records: records.to_kintone) end - def create(app, records) - register(app, records) - end - def update(app, records) @api.put(@url, app: app, records: records.to_kintone) end def delete(app, ids, revisions: nil) params = { app: app, ids: ids } params[:revisions] = revisions if revisions @api.delete(@url, params) end + + alias_method :create, :register end