Class: Servitor::ResourceConfiguration
- Inherits:
-
Object
- Object
- Servitor::ResourceConfiguration
- Includes:
- HasVariables
- Defined in:
- lib/service/service_definition/resource_configuration.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(name, options = nil) ⇒ ResourceConfiguration
constructor
A new instance of ResourceConfiguration.
Methods included from HasVariables
Constructor Details
#initialize(name, options = nil) ⇒ ResourceConfiguration
Returns a new instance of ResourceConfiguration.
8 9 10 11 |
# File 'lib/service/service_definition/resource_configuration.rb', line 8 def initialize(name, =nil) @name = name @options = || {} end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
6 7 8 |
# File 'lib/service/service_definition/resource_configuration.rb', line 6 def name @name end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
6 7 8 |
# File 'lib/service/service_definition/resource_configuration.rb', line 6 def @options end |