Class: FakeGrandIdSimple::FakePerson
- Inherits:
-
Person
- Object
- Person
- FakeGrandIdSimple::FakePerson
- Defined in:
- lib/fake_grand_id_simple.rb
Instance Method Summary collapse
Instance Method Details
#name ⇒ Object
14 15 16 |
# File 'lib/fake_grand_id_simple.rb', line 14 def name "#{given_name} #{surname}" end |
#session_id ⇒ Object
10 11 12 |
# File 'lib/fake_grand_id_simple.rb', line 10 def session_id @session_id ||= Digest::SHA256.hexdigest(rand.to_s) end |