Class: Fog::Ecloud::MockDataClasses::MockPublicIpInternetService
- Inherits:
-
Base
- Object
- Hash
- Base
- Fog::Ecloud::MockDataClasses::MockPublicIpInternetService
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
#backup_service ⇒ Object
750
751
752
|
# File 'lib/fog/compute/ecloud.rb', line 750
def backup_service
self[:backup_service]
end
|
#description ⇒ Object
718
719
720
|
# File 'lib/fog/compute/ecloud.rb', line 718
def description
self[:description] || "Description for Public IP Service #{name}"
end
|
#enabled ⇒ Object
730
731
732
|
# File 'lib/fog/compute/ecloud.rb', line 730
def enabled
!!self[:enabled]
end
|
#monitor ⇒ Object
746
747
748
|
# File 'lib/fog/compute/ecloud.rb', line 746
def monitor
nil
end
|
#name ⇒ Object
714
715
716
|
# File 'lib/fog/compute/ecloud.rb', line 714
def name
self[:name] || "Public IP Service #{object_id}"
end
|
#node_collection ⇒ Object
#port ⇒ Object
726
727
728
|
# File 'lib/fog/compute/ecloud.rb', line 726
def port
self[:port]
end
|
#protocol ⇒ Object
722
723
724
|
# File 'lib/fog/compute/ecloud.rb', line 722
def protocol
self[:protocol]
end
|
#redirect_url ⇒ Object
734
735
736
|
# File 'lib/fog/compute/ecloud.rb', line 734
def redirect_url
self[:redirect_url]
end
|
#timeout ⇒ Object
738
739
740
|
# File 'lib/fog/compute/ecloud.rb', line 738
def timeout
self[:timeout] || 2
end
|