Class: Registrar::Domain
- Inherits:
-
Object
- Object
- Registrar::Domain
- Defined in:
- lib/registrar/domain.rb
Instance Attribute Summary collapse
-
#expiration ⇒ Object
Returns the value of attribute expiration.
-
#lockable ⇒ Object
Returns the value of attribute lockable.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#order ⇒ Object
Returns the value of attribute order.
-
#real_time ⇒ Object
Returns the value of attribute real_time.
-
#registrant ⇒ Object
Returns the value of attribute registrant.
-
#registration_status ⇒ Object
Returns the value of attribute registration_status.
Instance Method Summary collapse
-
#initialize(name) ⇒ Domain
constructor
A new instance of Domain.
- #lockable? ⇒ Boolean
- #real_time? ⇒ Boolean
Constructor Details
#initialize(name) ⇒ Domain
Returns a new instance of Domain.
14 15 16 |
# File 'lib/registrar/domain.rb', line 14 def initialize(name) @name = name end |
Instance Attribute Details
#expiration ⇒ Object
Returns the value of attribute expiration.
8 9 10 |
# File 'lib/registrar/domain.rb', line 8 def expiration @expiration end |
#lockable ⇒ Object
Returns the value of attribute lockable.
11 12 13 |
# File 'lib/registrar/domain.rb', line 11 def lockable @lockable end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/registrar/domain.rb', line 3 def name @name end |
#order ⇒ Object
Returns the value of attribute order.
6 7 8 |
# File 'lib/registrar/domain.rb', line 6 def order @order end |
#real_time ⇒ Object
Returns the value of attribute real_time.
12 13 14 |
# File 'lib/registrar/domain.rb', line 12 def real_time @real_time end |
#registrant ⇒ Object
Returns the value of attribute registrant.
5 6 7 |
# File 'lib/registrar/domain.rb', line 5 def registrant @registrant end |
#registration_status ⇒ Object
Returns the value of attribute registration_status.
9 10 11 |
# File 'lib/registrar/domain.rb', line 9 def registration_status @registration_status end |
Instance Method Details
#lockable? ⇒ Boolean
18 19 20 |
# File 'lib/registrar/domain.rb', line 18 def lockable? !!lockable end |
#real_time? ⇒ Boolean
22 23 24 |
# File 'lib/registrar/domain.rb', line 22 def real_time? !!real_time end |