class SynergyWholesale::DomainRegister::Response

Public Instance Methods

validate_data() click to toggle source
# File lib/synergy_wholesale/operations/domain_register.rb, line 34
def validate_data
  raise Errors::BadDataError.new('Expected a numeric cost price', command, response) unless Inflector.is_numeric?(response[:cost_price])
end

Protected Instance Methods

expected_fields() click to toggle source
# File lib/synergy_wholesale/operations/domain_register.rb, line 40
def expected_fields
  %w(cost_price)
end