Class: Friends::Activity

Inherits:
Event
  • Object
show all
Defined in:
lib/friends/activity.rb

Constant Summary

Constants inherited from Event

Event::DATE_PARTITION, Event::SERIALIZATION_PREFIX

Instance Attribute Summary

Attributes inherited from Event

#date, #description

Class Method Summary collapse

Methods inherited from Event

deserialization_regex, #friend_names, #highlight_description, #includes_friend?, #includes_location?, #includes_tag?, #initialize, #location_names, #serialize, #tags, #to_s, #update_friend_name, #update_location_name

Methods included from Serializable

#deserialize

Constructor Details

This class inherits a constructor from Friends::Event

Class Method Details

.deserialization_expectationRegexp

Returns the string of what we expected during deserialization.

Returns:

  • (Regexp)

    the string of what we expected during deserialization


11
12
13
# File 'lib/friends/activity.rb', line 11

def self.deserialization_expectation
  "[YYYY-MM-DD]: [Activity]"
end