diff --git a/lib/knot/protocol.rb b/lib/knot/protocol.rb index 903697b..bdb7c02 100644 --- a/lib/knot/protocol.rb +++ b/lib/knot/protocol.rb @@ -179,10 +179,10 @@ class Knot::Protocol def zone( zone) @zones[zone.to_s.to_sym] end - def conf_set( **opts) call opts.update( command: 'conf-set') end - def conf_unset( **opts) call opts.update( command: 'conf-set') end + def conf_set( **opts) call **opts.update( command: 'conf-set') end + def conf_unset( **opts) call **opts.update( command: 'conf-set') end - def zone_set( **opts) call opts.update( command: 'zone-set') end - def zone_unset( **opts) call opts.update( command: 'zone-unset') end - def zone_get( **opts) call opts.update( command: 'zone-get') end + def zone_set( **opts) call **opts.update( command: 'zone-set') end + def zone_unset( **opts) call **opts.update( command: 'zone-unset') end + def zone_get( **opts) call **opts.update( command: 'zone-get') end end