Class: FidoMetadata::TableOfContents

Inherits:
Object
  • Object
show all
Extended by:
Attributes
Defined in:
lib/fido_metadata/table_of_contents.rb

Instance Method Summary collapse

Methods included from Attributes

from_json, json_accessor

Instance Method Details

#expires_inObject



17
18
19
# File 'lib/fido_metadata/table_of_contents.rb', line 17

def expires_in
  next_update.to_time.to_i - Time.now.to_i
end