Class: InternetBS::AdditionalAttributes

Inherits:
Base
  • Object
show all
Defined in:
lib/internetbs/additional_attributes.rb

Instance Method Summary collapse

Methods inherited from Base

#inspect

Instance Method Details

#admin_paramsObject



6
7
8
# File 'lib/internetbs/additional_attributes.rb', line 6

def admin_params
  return {}
end

#billing_paramsObject



10
11
12
# File 'lib/internetbs/additional_attributes.rb', line 10

def billing_params
  return {}
end

#mandatory_paramsObject

Mandatory attributes for all contact types



15
16
17
# File 'lib/internetbs/additional_attributes.rb', line 15

def mandatory_params
  return {}
end

#optional_paramsObject

Optional attributes for all contact types



20
21
22
# File 'lib/internetbs/additional_attributes.rb', line 20

def optional_params
  return {}
end

#registrant_paramsObject



24
25
26
# File 'lib/internetbs/additional_attributes.rb', line 24

def registrant_params
  return {}
end

#valid?(inputs = {}) ⇒ Boolean

Returns:

  • (Boolean)


28
29
30
31
32
33
34
# File 'lib/internetbs/additional_attributes.rb', line 28

def valid?(inputs = {})
  if @errors.any?
    return false
  else
    return true
  end
end

#zone_paramsObject

.de domains only - substituted with billing contact



37
38
39
# File 'lib/internetbs/additional_attributes.rb', line 37

def zone_params
  return {}
end