You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
228 B

  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