blob: fc606730b837058dcc667a2737560f30d81c4585 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
class FollowService
def call(source_account, uri)
target_account = follow_remote_account_service.(uri)
source_account.follow!(target_account)
end
private
def follow_remote_account_service
FollowRemoteAccountService.new
end
end
|