Method: Chef::Key#expiration_date

Defined in:
lib/chef/key.rb,
lib/chef/key.rb

#expiration_date(arg = nil) ⇒ String

the ISO formatted string YYYY-MM-DDTHH:MM:SSZ, i.e. 2020-12-24T21:00:00Z

Returns:

  • (String)

    the current value of expiration_date



39
40
41
# File 'lib/chef/key.rb', line 39

def expiration_date
  @expiration_date
end