Class: Glare::Domain::CfZone
- Inherits:
-
Object
- Object
- Glare::Domain::CfZone
- Defined in:
- lib/glare/domain/cf_zones.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(id:, name:) ⇒ CfZone
constructor
A new instance of CfZone.
Constructor Details
#initialize(id:, name:) ⇒ CfZone
Returns a new instance of CfZone.
31 32 33 34 |
# File 'lib/glare/domain/cf_zones.rb', line 31 def initialize(id:, name:) @id = id @name = name end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
35 36 37 |
# File 'lib/glare/domain/cf_zones.rb', line 35 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
35 36 37 |
# File 'lib/glare/domain/cf_zones.rb', line 35 def name @name end |