Class: SecondStep::MemoryAdapter::ApplicationUser
- Inherits:
-
Object
- Object
- SecondStep::MemoryAdapter::ApplicationUser
- Includes:
- SecondStep::Models::ApplicationUser
- Defined in:
- lib/second_step/memory_adapter/application_user.rb
Instance Attribute Summary collapse
-
#application_user_link ⇒ Object
Returns the value of attribute application_user_link.
-
#phone ⇒ Object
Returns the value of attribute phone.
-
#uuid ⇒ Object
Returns the value of attribute uuid.
Instance Method Summary collapse
- #change_link(link) ⇒ Object
-
#initialize(application_user_link: nil, phone: nil, uuid: nil) ⇒ ApplicationUser
constructor
A new instance of ApplicationUser.
Constructor Details
#initialize(application_user_link: nil, phone: nil, uuid: nil) ⇒ ApplicationUser
Returns a new instance of ApplicationUser.
10 11 12 13 14 |
# File 'lib/second_step/memory_adapter/application_user.rb', line 10 def initialize(application_user_link: nil, phone: nil, uuid: nil) self.application_user_link = application_user_link self.phone = phone self.uuid = uuid end |
Instance Attribute Details
#application_user_link ⇒ Object
Returns the value of attribute application_user_link.
8 9 10 |
# File 'lib/second_step/memory_adapter/application_user.rb', line 8 def application_user_link @application_user_link end |
#phone ⇒ Object
Returns the value of attribute phone.
8 9 10 |
# File 'lib/second_step/memory_adapter/application_user.rb', line 8 def phone @phone end |
#uuid ⇒ Object
Returns the value of attribute uuid.
8 9 10 |
# File 'lib/second_step/memory_adapter/application_user.rb', line 8 def uuid @uuid end |
Instance Method Details
#change_link(link) ⇒ Object
21 22 23 |
# File 'lib/second_step/memory_adapter/application_user.rb', line 21 def change_link(link) @application_user_link = link end |