Merge pull request #136 from internetee/118911315-whois_data_type

118911315-data_type_change
This commit is contained in:
Timo Võhmar 2016-05-20 11:05:50 +03:00
commit a8acdbb406
2 changed files with 2 additions and 2 deletions

View file

@ -40,7 +40,7 @@ class BlockedDomain < ActiveRecord::Base
def generate_json
h = HashWithIndifferentAccess.new
h[:name] = self.name
h[:status] = 'Blocked'
h[:status] = ['Blocked']
h
end

View file

@ -65,7 +65,7 @@ class ReservedDomain < ActiveRecord::Base
def generate_json
h = HashWithIndifferentAccess.new
h[:name] = self.name
h[:status] = 'Reserved'
h[:status] = ['Reserved']
h
end