fixed trailing space style issues
parent
645e2c628f
commit
840ad82179
|
@ -125,7 +125,7 @@ defmodule Hunter do
|
|||
|
||||
"""
|
||||
@spec accept_follow_request(Hunter.Client.t, non_neg_integer) :: boolean
|
||||
defdelegate accept_follow_request(conn, id), to: Hunter.Account
|
||||
defdelegate accept_follow_request(conn, id), to: Hunter.Account
|
||||
|
||||
@doc """
|
||||
Rejects a follow request
|
||||
|
@ -136,7 +136,7 @@ defmodule Hunter do
|
|||
* `id` - follow request id
|
||||
|
||||
"""
|
||||
@spec reject_follow_request(Hunter.Client.t, non_neg_integer) :: boolean
|
||||
@spec reject_follow_request(Hunter.Client.t, non_neg_integer) :: boolean
|
||||
defdelegate reject_follow_request(conn, id), to: Hunter.Account
|
||||
|
||||
## Application
|
||||
|
|
|
@ -205,8 +205,8 @@ defmodule Hunter.Account do
|
|||
* `id` - follow request id
|
||||
|
||||
"""
|
||||
@spec reject_follow_request(Hunter.Client.t, non_neg_integer) :: boolean
|
||||
@spec reject_follow_request(Hunter.Client.t, non_neg_integer) :: boolean
|
||||
def reject_follow_request(conn, id ) do
|
||||
@hunter_api.follow_request_action(conn, id, :reject)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -120,7 +120,7 @@ defmodule Hunter.Api do
|
|||
* `:reject` - reject a follow request
|
||||
|
||||
"""
|
||||
@callback follow_request_action(conn :: Hunter.Client.t, id :: non_neg_integer, action :: atom) :: boolean
|
||||
@callback follow_request_action(conn :: Hunter.Client.t, id :: non_neg_integer, action :: atom) :: boolean
|
||||
|
||||
## Application
|
||||
|
||||
|
|
Loading…
Reference in New Issue