Commit 6983be2d authored by Gabriel Mazetto's avatar Gabriel Mazetto

Fix API specs

parent c4032aa6
...@@ -2,9 +2,9 @@ module Geo ...@@ -2,9 +2,9 @@ module Geo
class ScheduleKeyChangeService class ScheduleKeyChangeService
attr_reader :id, :action attr_reader :id, :action
def initialize(key_id, change) def initialize(key_change)
@id = key_id @id = key_change['id']
@action = change @action = key_change['change']
end end
def execute def execute
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment