0
0
Fork 0

Adding remote follow button

This commit is contained in:
Eugen Rochko 2017-01-01 19:52:25 +01:00
parent 91c5426455
commit 8f47f6a7ec
11 changed files with 114 additions and 20 deletions

View file

@ -0,0 +1,13 @@
# frozen_string_literal: true
class RemoteFollow
include ActiveModel::Validations
attr_accessor :acct
validates :acct, presence: true
def initialize(attrs = {})
@acct = attrs[:acct]
end
end