Class: Trufina::Requests::LoginRequest
- Inherits:
-
BaseRequest
- Object
- BaseRequest
- Trufina::Requests::LoginRequest
- Includes:
- HappyMapper
- Defined in:
- lib/requests.rb
Overview
When we wan to send a user to Trufina to register and/or provide their information and allow us access, we send this to Trufina, who sends us back a PLID we can use to generate the redirect URL to which we should send the user.
Instance Method Summary collapse
-
#initialize(*args) ⇒ LoginRequest
constructor
A new instance of LoginRequest.
Methods inherited from BaseRequest
Constructor Details
#initialize(*args) ⇒ LoginRequest
Returns a new instance of LoginRequest.
130 131 132 133 134 135 |
# File 'lib/requests.rb', line 130 def initialize *args super(args) # Trufina is brilliant, and they fail if this isn't in the request (even though they don't actually read the value) seed.residence_address.timeframe = 'current' if seed && seed.residence_address end |