Class: Forwarding

Inherits:
Object
  • Object
show all
Defined in:
lib/mccloud/provider/core/forwarding.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, remote, local) ⇒ Forwarding

Returns a new instance of Forwarding.



9
10
11
12
13
# File 'lib/mccloud/provider/core/forwarding.rb', line 9

def initialize(name,remote,local)
  @name=name
  @local=local
  @remote=remote
end

Instance Attribute Details

#localObject

Returns the value of attribute local.



3
4
5
# File 'lib/mccloud/provider/core/forwarding.rb', line 3

def local
  @local
end

#nameObject

Returns the value of attribute name.



2
3
4
# File 'lib/mccloud/provider/core/forwarding.rb', line 2

def name
  @name
end

#namespaceObject

Returns the value of attribute namespace.



6
7
8
# File 'lib/mccloud/provider/core/forwarding.rb', line 6

def namespace
  @namespace
end

#remoteObject

Returns the value of attribute remote.



4
5
6
# File 'lib/mccloud/provider/core/forwarding.rb', line 4

def remote
  @remote
end