Class: CfScript::RouteInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/cf_script/object/route_info.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#appsObject (readonly)

Returns the value of attribute apps.



5
6
7
# File 'lib/cf_script/object/route_info.rb', line 5

def apps
  @apps
end

#domainObject (readonly)

Returns the value of attribute domain.



4
5
6
# File 'lib/cf_script/object/route_info.rb', line 4

def domain
  @domain
end

#hostObject (readonly)

Returns the value of attribute host.



3
4
5
# File 'lib/cf_script/object/route_info.rb', line 3

def host
  @host
end

#spaceObject (readonly)

Returns the value of attribute space.



2
3
4
# File 'lib/cf_script/object/route_info.rb', line 2

def space
  @space
end