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