Class: GmailSignaturePusher::Result
- Inherits:
-
Data
- Object
- Data
- GmailSignaturePusher::Result
- Defined in:
- app/services/gmail_signature_pusher.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
readonly
Returns the value of attribute email.
-
#employee_id ⇒ Object
readonly
Returns the value of attribute employee_id.
-
#employee_name ⇒ Object
readonly
Returns the value of attribute employee_name.
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#success ⇒ Object
readonly
Returns the value of attribute success.
Instance Method Summary collapse
-
#initialize(employee_id:, employee_name:, email:, success: false, error: nil) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(employee_id:, employee_name:, email:, success: false, error: nil) ⇒ Result
Returns a new instance of Result.
8 9 10 |
# File 'app/services/gmail_signature_pusher.rb', line 8 def initialize(employee_id:, employee_name:, email:, success: false, error: nil) super end |
Instance Attribute Details
#email ⇒ Object (readonly)
Returns the value of attribute email
7 8 9 |
# File 'app/services/gmail_signature_pusher.rb', line 7 def email @email end |
#employee_id ⇒ Object (readonly)
Returns the value of attribute employee_id
7 8 9 |
# File 'app/services/gmail_signature_pusher.rb', line 7 def employee_id @employee_id end |
#employee_name ⇒ Object (readonly)
Returns the value of attribute employee_name
7 8 9 |
# File 'app/services/gmail_signature_pusher.rb', line 7 def employee_name @employee_name end |
#error ⇒ Object (readonly)
Returns the value of attribute error
7 8 9 |
# File 'app/services/gmail_signature_pusher.rb', line 7 def error @error end |
#success ⇒ Object (readonly)
Returns the value of attribute success
7 8 9 |
# File 'app/services/gmail_signature_pusher.rb', line 7 def success @success end |