about summary refs log tree commit diff
path: root/app/models/instance.rb
blob: 6d5c9c2ab605008da96b0fa50fa2ae4684bc6e40 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

class Instance
  include ActiveModel::Model

  attr_accessor :domain, :accounts_count

  def initialize(account)
    @domain = account.domain
    @accounts_count = account.accounts_count
  end
end