Class: Forwarding
- Inherits:
-
Object
- Object
- Forwarding
- Defined in:
- lib/mccloud/provider/core/forwarding.rb
Instance Attribute Summary collapse
-
#local ⇒ Object
Returns the value of attribute local.
-
#name ⇒ Object
Returns the value of attribute name.
-
#namespace ⇒ Object
Returns the value of attribute namespace.
-
#remote ⇒ Object
Returns the value of attribute remote.
Instance Method Summary collapse
-
#initialize(name, remote, local) ⇒ Forwarding
constructor
A new instance of Forwarding.
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
#local ⇒ Object
Returns the value of attribute local.
3 4 5 |
# File 'lib/mccloud/provider/core/forwarding.rb', line 3 def local @local end |
#name ⇒ Object
Returns the value of attribute name.
2 3 4 |
# File 'lib/mccloud/provider/core/forwarding.rb', line 2 def name @name end |
#namespace ⇒ Object
Returns the value of attribute namespace.
6 7 8 |
# File 'lib/mccloud/provider/core/forwarding.rb', line 6 def namespace @namespace end |
#remote ⇒ Object
Returns the value of attribute remote.
4 5 6 |
# File 'lib/mccloud/provider/core/forwarding.rb', line 4 def remote @remote end |