logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

instance.rb (228B)


  1. # frozen_string_literal: true
  2. class Instance
  3. include ActiveModel::Model
  4. attr_accessor :domain, :accounts_count
  5. def initialize(account)
  6. @domain = account.domain
  7. @accounts_count = account.accounts_count
  8. end
  9. end