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