Class: Registrar::ExtendedAttribute

Inherits:
Object
  • Object
show all
Defined in:
lib/registrar/extended_attribute.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/registrar/extended_attribute.rb', line 4

def name
  @name
end

#tldObject

Returns the value of attribute tld.



3
4
5
# File 'lib/registrar/extended_attribute.rb', line 3

def tld
  @tld
end

#valueObject

Returns the value of attribute value.



5
6
7
# File 'lib/registrar/extended_attribute.rb', line 5

def value
  @value
end