Class: Glare::Domain::CfZone

Inherits:
Object
  • Object
show all
Defined in:
lib/glare/domain/cf_zones.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#idObject (readonly)

Returns the value of attribute id.



35
36
37
# File 'lib/glare/domain/cf_zones.rb', line 35

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name.



35
36
37
# File 'lib/glare/domain/cf_zones.rb', line 35

def name
  @name
end