Added ApiUser and WhiteIp endpoints to REPP API

This commit is contained in:
Sergei Tsoganov 2023-05-29 14:26:53 +03:00
parent 0442f7f087
commit b84e9e1579
9 changed files with 206 additions and 3 deletions

View file

@ -77,6 +77,10 @@ class WhiteIp < ApplicationRecord
def csv_header
%w[IPv4 IPv6 Interfaces Created Updated]
end
def ransackable_attributes(auth_object = nil)
["created_at", "creator_str", "id", "interfaces", "ipv4", "ipv6", "registrar_id", "updated_at", "updator_str"]
end
end
def as_csv_row