Class: Account::Inviter::Result
- Inherits:
-
Data
- Object
- Data
- Account::Inviter::Result
- Defined in:
- app/services/account/inviter.rb
Overview
Service object: result.
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: []) ⇒ void constructor
-
#invited? ⇒ Boolean
Whether the invitation succeeded.
Constructor Details
#initialize(invited: nil, email: nil, account: nil, messages: []) ⇒ void
11 |
# File 'app/services/account/inviter.rb', line 11 def initialize(invited: nil, email: nil, account: nil, messages: []) = super |
Instance Attribute Details
#account ⇒ Object (readonly)
Returns the value of attribute account
5 6 7 |
# File 'app/services/account/inviter.rb', line 5 def account @account end |
#email ⇒ Object (readonly)
Returns the value of attribute email
5 6 7 |
# File 'app/services/account/inviter.rb', line 5 def email @email end |
#invited ⇒ Object (readonly)
Returns the value of attribute invited
5 6 7 |
# File 'app/services/account/inviter.rb', line 5 def invited @invited end |
#messages ⇒ Object (readonly)
Returns the value of attribute messages
5 6 7 |
# File 'app/services/account/inviter.rb', line 5 def @messages end |
Instance Method Details
#invited? ⇒ Boolean
Whether the invitation succeeded.
15 |
# File 'app/services/account/inviter.rb', line 15 def invited? = invited |