mirror of
https://github.com/internetee/registry.git
synced 2025-07-06 11:13:27 +02:00
Merge branch '118911315-whois_data_type' into staging
This commit is contained in:
commit
4dbdef03fc
2 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ class BlockedDomain < ActiveRecord::Base
|
||||||
def generate_json
|
def generate_json
|
||||||
h = HashWithIndifferentAccess.new
|
h = HashWithIndifferentAccess.new
|
||||||
h[:name] = self.name
|
h[:name] = self.name
|
||||||
h[:status] = 'Blocked'
|
h[:status] = ['Blocked']
|
||||||
h
|
h
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -65,7 +65,7 @@ class ReservedDomain < ActiveRecord::Base
|
||||||
def generate_json
|
def generate_json
|
||||||
h = HashWithIndifferentAccess.new
|
h = HashWithIndifferentAccess.new
|
||||||
h[:name] = self.name
|
h[:name] = self.name
|
||||||
h[:status] = 'Reserved'
|
h[:status] = ['Reserved']
|
||||||
h
|
h
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue