mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +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
|
defprotocol Philomena.Attribution do
|
||||||
@doc """
|
@doc """
|
||||||
Provides the "parent object" identifier for this object. This is so
|
Provides the "parent object" identifier for this object. This is so
|
||||||
that anonymous posts under the same topic id can return the same hash
|
that anonymous posts under the same topic id can return the same hash
|
||||||
for the same user.
|
for the same user.
|
||||||
"""
|
"""
|
||||||
@spec object_identifier(struct()) :: String.t()
|
@spec object_identifier(struct()) :: String.t()
|
||||||
def object_identifier(object)
|
def object_identifier(object)
|
||||||
|
|
||||||
@doc """
|
@doc """
|
||||||
Provides the "best" user identifier for an object. Usually this will be
|
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
|
the user_id, but may also be the fingerprint or IP address if other
|
||||||
information is unavailable.
|
information is unavailable.
|
||||||
"""
|
"""
|
||||||
@spec best_user_identifier(struct()) :: String.t()
|
@spec best_user_identifier(struct()) :: String.t()
|
||||||
def best_user_identifier(object)
|
def best_user_identifier(object)
|
||||||
|
|
||||||
@doc """
|
@doc """
|
||||||
Return whether this object is considered to be anonymous.
|
Return whether this object is considered to be anonymous.
|
||||||
"""
|
"""
|
||||||
@spec anonymous?(struct()) :: true | false
|
@spec anonymous?(struct()) :: true | false
|
||||||
def anonymous?(object)
|
def anonymous?(object)
|
||||||
|
|
Loading…
Reference in a new issue