mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
Fix weird indentation
This commit is contained in:
parent
7570f18dcb
commit
cc21b402a0
1 changed files with 7 additions and 7 deletions
|
@ -1,22 +1,22 @@
|
|||
defprotocol Philomena.Attribution do
|
||||
@doc """
|
||||
Provides the "parent object" identifier for this object. This is so
|
||||
that anonymous posts under the same topic id can return the same hash
|
||||
for the same user.
|
||||
Provides the "parent object" identifier for this object. This is so
|
||||
that anonymous posts under the same topic id can return the same hash
|
||||
for the same user.
|
||||
"""
|
||||
@spec object_identifier(struct()) :: String.t()
|
||||
def object_identifier(object)
|
||||
|
||||
@doc """
|
||||
Provides the "best" user identifier for an object. Usually this will be
|
||||
the user_id, but may also be the fingerprint or IP address if other
|
||||
information is unavailable.
|
||||
Provides the "best" user identifier for an object. Usually this will be
|
||||
the user_id, but may also be the fingerprint or IP address if other
|
||||
information is unavailable.
|
||||
"""
|
||||
@spec best_user_identifier(struct()) :: String.t()
|
||||
def best_user_identifier(object)
|
||||
|
||||
@doc """
|
||||
Return whether this object is considered to be anonymous.
|
||||
Return whether this object is considered to be anonymous.
|
||||
"""
|
||||
@spec anonymous?(struct()) :: true | false
|
||||
def anonymous?(object)
|
||||
|
|
Loading…
Reference in a new issue