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