Class: NicInfo::Email
- Inherits:
-
Object
- Object
- NicInfo::Email
- Defined in:
- lib/nicinfo/entity.rb
Instance Attribute Summary collapse
-
#addr ⇒ Object
Returns the value of attribute addr.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize ⇒ Email
constructor
A new instance of Email.
Constructor Details
#initialize ⇒ Email
Returns a new instance of Email.
99 100 101 |
# File 'lib/nicinfo/entity.rb', line 99 def initialize @type = Array.new end |
Instance Attribute Details
#addr ⇒ Object
Returns the value of attribute addr.
98 99 100 |
# File 'lib/nicinfo/entity.rb', line 98 def addr @addr end |
#type ⇒ Object
Returns the value of attribute type.
98 99 100 |
# File 'lib/nicinfo/entity.rb', line 98 def type @type end |