mirror of
https://github.com/internetee/registry.git
synced 2025-07-31 15:06:23 +02:00
Added ApiUser and WhiteIp endpoints to REPP API
This commit is contained in:
parent
0442f7f087
commit
b84e9e1579
9 changed files with 206 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue