class EtFakeCcd::Command::LeaseCommand

Attributes

config[RW]

Public Class Methods

from_json(json) click to toggle source
# File lib/et_fake_ccd/command/lease_command.rb, line 17
def self.from_json(json)
  new one_time_password: json['oneTimePassword'], microservice: json['microservice']
end
new(config: ::EtFakeCcd::Config.instance, **args) click to toggle source
Calls superclass method
# File lib/et_fake_ccd/command/lease_command.rb, line 9
def initialize(config: ::EtFakeCcd::Config.instance, **args)
  self.config = config
  super(**args)
end