Class: CfScript::Space
- Inherits:
-
Object
- Object
- CfScript::Space
- Defined in:
- lib/cf_script/object/space.rb
Instance Attribute Summary collapse
-
#apps ⇒ Object
readonly
Returns the value of attribute apps.
-
#domains ⇒ Object
readonly
Returns the value of attribute domains.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#org ⇒ Object
readonly
Returns the value of attribute org.
-
#security_groups ⇒ Object
readonly
Returns the value of attribute security_groups.
-
#services ⇒ Object
readonly
Returns the value of attribute services.
Instance Method Summary collapse
-
#initialize(name, org = nil, apps = [], domains = [], services = [], security_groups = []) ⇒ Space
constructor
A new instance of Space.
Constructor Details
#initialize(name, org = nil, apps = [], domains = [], services = [], security_groups = []) ⇒ Space
Returns a new instance of Space.
9 10 11 12 13 14 15 16 |
# File 'lib/cf_script/object/space.rb', line 9 def initialize(name, org = nil, apps = [], domains = [], services = [], security_groups = []) @name = name @org = org @apps = apps @domains = domains @services = services @security_groups = security_groups end |
Instance Attribute Details
#apps ⇒ Object (readonly)
Returns the value of attribute apps.
4 5 6 |
# File 'lib/cf_script/object/space.rb', line 4 def apps @apps end |
#domains ⇒ Object (readonly)
Returns the value of attribute domains.
5 6 7 |
# File 'lib/cf_script/object/space.rb', line 5 def domains @domains end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
2 3 4 |
# File 'lib/cf_script/object/space.rb', line 2 def name @name end |
#org ⇒ Object (readonly)
Returns the value of attribute org.
3 4 5 |
# File 'lib/cf_script/object/space.rb', line 3 def org @org end |
#security_groups ⇒ Object (readonly)
Returns the value of attribute security_groups.
7 8 9 |
# File 'lib/cf_script/object/space.rb', line 7 def security_groups @security_groups end |
#services ⇒ Object (readonly)
Returns the value of attribute services.
6 7 8 |
# File 'lib/cf_script/object/space.rb', line 6 def services @services end |