Class: Rafflesia::MagicAuthSendRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::MagicAuthSendRequest
- Defined in:
- lib/rafflesia/auth/magic_auth_send_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ email: :email }.freeze
Instance Attribute Summary collapse
-
#email ⇒ Object
Returns the value of attribute email.
Instance Method Summary collapse
-
#initialize(json) ⇒ MagicAuthSendRequest
constructor
A new instance of MagicAuthSendRequest.
Constructor Details
#initialize(json) ⇒ MagicAuthSendRequest
Returns a new instance of MagicAuthSendRequest.
14 15 16 17 18 |
# File 'lib/rafflesia/auth/magic_auth_send_request.rb', line 14 def initialize(json) super() hash = self.class.normalize(json) @email = hash[:email] end |
Instance Attribute Details
#email ⇒ Object
Returns the value of attribute email.
12 13 14 |
# File 'lib/rafflesia/auth/magic_auth_send_request.rb', line 12 def email @email end |