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

Fix API specs

parent c4032aa6
......@@ -2,9 +2,9 @@ module Geo
class ScheduleKeyChangeService
attr_reader :id, :action
def initialize(key_id, change)
@id = key_id
@action = change
def initialize(key_change)
@id = key_change['id']
@action = key_change['change']
end
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