mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Merge admin and api users
This commit is contained in:
parent
fcd3f4146b
commit
f3215680d5
6 changed files with 114 additions and 37 deletions
|
@ -1,8 +1,7 @@
|
|||
require 'open3'
|
||||
|
||||
# rubocop: disable Metrics/ClassLength
|
||||
class ApiUser < ActiveRecord::Base
|
||||
include Versions # version/api_user_version.rb
|
||||
class ApiUser < User
|
||||
# TODO: should have max request limit per day
|
||||
belongs_to :registrar
|
||||
has_many :contacts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue