Class: Account::Inviter::Result
- Inherits:
-
Data
- Object
- Data
- Account::Inviter::Result
- Defined in:
- app/services/account/inviter.rb
Instance Attribute Summary collapse
-
#account ⇒ Object
readonly
Returns the value of attribute account.
-
#email ⇒ Object
readonly
Returns the value of attribute email.
-
#invited ⇒ Object
readonly
Returns the value of attribute invited.
-
#messages ⇒ Object
readonly
Returns the value of attribute messages.
Instance Method Summary collapse
-
#initialize(invited: nil, email: nil, account: nil, messages: []) ⇒ Result
constructor
A new instance of Result.
- #invited? ⇒ Boolean
Constructor Details
#initialize(invited: nil, email: nil, account: nil, messages: []) ⇒ Result
Returns a new instance of Result.
4 |
# File 'app/services/account/inviter.rb', line 4 def initialize(invited: nil, email: nil, account: nil, messages: []) = super |
Instance Attribute Details
#account ⇒ Object (readonly)
Returns the value of attribute account
3 4 5 |
# File 'app/services/account/inviter.rb', line 3 def account @account end |
#email ⇒ Object (readonly)
Returns the value of attribute email
3 4 5 |
# File 'app/services/account/inviter.rb', line 3 def email @email end |
#invited ⇒ Object (readonly)
Returns the value of attribute invited
3 4 5 |
# File 'app/services/account/inviter.rb', line 3 def invited @invited end |
#messages ⇒ Object (readonly)
Returns the value of attribute messages
3 4 5 |
# File 'app/services/account/inviter.rb', line 3 def @messages end |
Instance Method Details
#invited? ⇒ Boolean
5 |
# File 'app/services/account/inviter.rb', line 5 def invited? = invited |