Class: ElsSessionController::ElsFaker

Inherits:
ElsToken::ElsIdentity
  • Object
show all
Defined in:
app/controllers/els_session_controller.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cdid) ⇒ ElsFaker

Returns a new instance of ElsFaker.



99
100
101
102
103
# File 'app/controllers/els_session_controller.rb', line 99

def initialize(cdid)
  super
  @cdid = cdid
  @token_id = Random.rand
end

Instance Attribute Details

#cdidObject

Returns the value of attribute cdid.



98
99
100
# File 'app/controllers/els_session_controller.rb', line 98

def cdid
  @cdid
end

#token_idObject

Returns the value of attribute token_id.



98
99
100
# File 'app/controllers/els_session_controller.rb', line 98

def token_id
  @token_id
end