Exception: EPP::Contact::Command::TooManyStreetLines
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- EPP::Contact::Command::TooManyStreetLines
- Defined in:
- lib/epp-client/contact/command.rb
Instance Attribute Summary collapse
-
#streets ⇒ Object
readonly
Returns the value of attribute streets.
Instance Method Summary collapse
-
#initialize(streets) ⇒ TooManyStreetLines
constructor
A new instance of TooManyStreetLines.
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
#streets ⇒ Object (readonly)
Returns the value of attribute streets.
11 12 13 |
# File 'lib/epp-client/contact/command.rb', line 11 def streets @streets end |