Class: DiasporaFederation::Entities::AccountDeletion
- Inherits:
-
DiasporaFederation::Entity
- Object
- DiasporaFederation::Entity
- DiasporaFederation::Entities::AccountDeletion
- Defined in:
- lib/diaspora_federation/entities/account_deletion.rb
Overview
This entity is sent when an account was deleted on a remote pod.
Constant Summary
Constants inherited from DiasporaFederation::Entity
DiasporaFederation::Entity::ENTITY_NAME_REGEX, DiasporaFederation::Entity::INVALID_XML_REGEX
Instance Attribute Summary collapse
-
#author ⇒ String
readonly
The diaspora* ID of the deleted account.
-
#diaspora_id ⇒ String
readonly
Alias for author.
Instance Method Summary collapse
-
#to_s ⇒ String
String representation of this object.
Methods inherited from DiasporaFederation::Entity
class_name, entity_class, entity_name, from_hash, from_json, from_xml, #initialize, #to_h, #to_json, #to_xml
Methods included from PropertiesDSL
#class_props, #default_values, #entity, #missing_props, #optional_props, #property, #resolv_aliases
Methods included from Logging
Constructor Details
This class inherits a constructor from DiasporaFederation::Entity
Instance Attribute Details
#author ⇒ String (readonly)
The diaspora* ID of the deleted account
17 |
# File 'lib/diaspora_federation/entities/account_deletion.rb', line 17 property :author, :string, alias: :diaspora_id |
#diaspora_id ⇒ String (readonly)
Alias for author
17 |
# File 'lib/diaspora_federation/entities/account_deletion.rb', line 17 property :author, :string, alias: :diaspora_id |
Instance Method Details
#to_s ⇒ String
Returns string representation of this object.
20 21 22 |
# File 'lib/diaspora_federation/entities/account_deletion.rb', line 20 def to_s "AccountDeletion:#{}" end |