Class: Registrar::ExtendedAttribute
- Inherits:
-
Object
- Object
- Registrar::ExtendedAttribute
- Defined in:
- lib/registrar/extended_attribute.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#tld ⇒ Object
Returns the value of attribute tld.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(tld, name, value) ⇒ ExtendedAttribute
constructor
A new instance of ExtendedAttribute.
Constructor Details
#initialize(tld, name, value) ⇒ ExtendedAttribute
Returns a new instance of ExtendedAttribute.
6 7 8 9 10 |
# File 'lib/registrar/extended_attribute.rb', line 6 def initialize(tld, name, value) @tld = tld @name = name @value = value end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/registrar/extended_attribute.rb', line 4 def name @name end |
#tld ⇒ Object
Returns the value of attribute tld.
3 4 5 |
# File 'lib/registrar/extended_attribute.rb', line 3 def tld @tld end |
#value ⇒ Object
Returns the value of attribute value.
5 6 7 |
# File 'lib/registrar/extended_attribute.rb', line 5 def value @value end |