Class: InternetBS::AdditionalAttributes
- Defined in:
- lib/internetbs/additional_attributes.rb
Direct Known Subclasses
DotAsiaAttributes, DotDEAttributes, DotEUAttributes, DotITAttributes, DotNLAttributes, DotUKAttributes, DotUSAttributes
Instance Method Summary collapse
- #admin_params ⇒ Object
- #billing_params ⇒ Object
-
#mandatory_params ⇒ Object
Mandatory attributes for all contact types.
-
#optional_params ⇒ Object
Optional attributes for all contact types.
- #registrant_params ⇒ Object
- #valid?(inputs = {}) ⇒ Boolean
-
#zone_params ⇒ Object
.de domains only - substituted with billing contact.
Methods inherited from Base
Instance Method Details
#admin_params ⇒ Object
6 7 8 |
# File 'lib/internetbs/additional_attributes.rb', line 6 def admin_params return {} end |
#billing_params ⇒ Object
10 11 12 |
# File 'lib/internetbs/additional_attributes.rb', line 10 def billing_params return {} end |
#mandatory_params ⇒ Object
Mandatory attributes for all contact types
15 16 17 |
# File 'lib/internetbs/additional_attributes.rb', line 15 def mandatory_params return {} end |
#optional_params ⇒ Object
Optional attributes for all contact types
20 21 22 |
# File 'lib/internetbs/additional_attributes.rb', line 20 def optional_params return {} end |
#registrant_params ⇒ Object
24 25 26 |
# File 'lib/internetbs/additional_attributes.rb', line 24 def registrant_params return {} end |
#valid?(inputs = {}) ⇒ 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_params ⇒ Object
.de domains only - substituted with billing contact
37 38 39 |
# File 'lib/internetbs/additional_attributes.rb', line 37 def zone_params return {} end |