Exception: EPP::Contact::Command::TooManyStreetLines

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/epp-client/contact/command.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(streets) ⇒ TooManyStreetLines

Returns a new instance of TooManyStreetLines.



12
13
14
15
# File 'lib/epp-client/contact/command.rb', line 12

def initialize(streets)
  super("too many streets, #{streets[MAX_STREETS..-1]} would be excluded")
  @streets = streets
end

Instance Attribute Details

#streetsObject (readonly)

Returns the value of attribute streets.



11
12
13
# File 'lib/epp-client/contact/command.rb', line 11

def streets
  @streets
end