fixed trailing space style issues

master
Théophile Choutri 2017-04-17 11:37:34 +02:00
parent 645e2c628f
commit 840ad82179
3 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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