Class: Party::RecordTimezone::Result

Inherits:
Data
  • Object
show all
Defined in:
app/services/party/record_timezone.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#messagesObject (readonly)

Returns the value of attribute messages

Returns:

  • (Object)

    the current value of messages



3
4
5
# File 'app/services/party/record_timezone.rb', line 3

def messages
  @messages
end

#timezoneObject (readonly)

Returns the value of attribute timezone

Returns:

  • (Object)

    the current value of timezone



3
4
5
# File 'app/services/party/record_timezone.rb', line 3

def timezone
  @timezone
end

#timezone_recordedObject (readonly)

Returns the value of attribute timezone_recorded

Returns:

  • (Object)

    the current value of 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

Returns:

  • (Boolean)


5
# File 'app/services/party/record_timezone.rb', line 5

def timezone_recorded? = timezone_recorded