Class: SessionIdGenerator

Inherits:
Object
  • Object
show all
Defined in:
lib/record/session_id_generator.rb

Instance Method Summary collapse

Instance Method Details

#generate_id(time = Time.new) ⇒ Object



5
6
7
# File 'lib/record/session_id_generator.rb', line 5

def generate_id time=Time.new
 DateTimeFormatter.new.format time
end