Class: Fog::Ecloud::MockDataClasses::MockPublicIpInternetServiceNode
- Inherits:
-
Base
- Object
- Hash
- Base
- Fog::Ecloud::MockDataClasses::MockPublicIpInternetServiceNode
show all
- Defined in:
- lib/fog/compute/ecloud.rb
Instance Method Summary
collapse
Methods inherited from Base
#_parent, base_url, #base_url, base_url=, #first, #href, #initialize, #inspect, #last
Instance Method Details
#description ⇒ Object
781
782
783
|
# File 'lib/fog/compute/ecloud.rb', line 781
def description
self[:description] || "Description for Public IP Service Node #{name}"
end
|
#enabled ⇒ Object
789
790
791
|
# File 'lib/fog/compute/ecloud.rb', line 789
def enabled
self[:enabled].to_s.downcase != "false"
end
|
#enabled=(new_value) ⇒ Object
793
794
795
|
# File 'lib/fog/compute/ecloud.rb', line 793
def enabled=(new_value)
self[:enabled] = new_value
end
|
#ip_address ⇒ Object
773
774
775
|
# File 'lib/fog/compute/ecloud.rb', line 773
def ip_address
self[:ip_address]
end
|
#name ⇒ Object
777
778
779
|
# File 'lib/fog/compute/ecloud.rb', line 777
def name
self[:name] || "Public IP Service Node #{object_id}"
end
|
#port ⇒ Object
785
786
787
|
# File 'lib/fog/compute/ecloud.rb', line 785
def port
self[:port]
end
|