Class: Fog::Ecloud::MockDataClasses::MockPublicIpInternetService
- Inherits:
-
Base
- Object
- Hash
- Base
- Fog::Ecloud::MockDataClasses::MockPublicIpInternetService
show all
- Defined in:
- lib/fog/ecloud/mock_data_classes.rb
Instance Method Summary
collapse
Methods inherited from Base
#_parent, base_url, #base_url, base_url=, #first, #href, #initialize, #inspect, #last
Methods inherited from Hash
#symbolize_keys!
Instance Method Details
#backup_service ⇒ Object
719
720
721
|
# File 'lib/fog/ecloud/mock_data_classes.rb', line 719
def backup_service
self[:backup_service]
end
|
#description ⇒ Object
687
688
689
|
# File 'lib/fog/ecloud/mock_data_classes.rb', line 687
def description
self[:description] || "Description for Public IP Service #{name}"
end
|
#enabled ⇒ Object
699
700
701
|
# File 'lib/fog/ecloud/mock_data_classes.rb', line 699
def enabled
!!self[:enabled]
end
|
#monitor ⇒ Object
715
716
717
|
# File 'lib/fog/ecloud/mock_data_classes.rb', line 715
def monitor
nil
end
|
#name ⇒ Object
683
684
685
|
# File 'lib/fog/ecloud/mock_data_classes.rb', line 683
def name
self[:name] || "Public IP Service #{object_id}"
end
|
#node_collection ⇒ Object
#port ⇒ Object
695
696
697
|
# File 'lib/fog/ecloud/mock_data_classes.rb', line 695
def port
self[:port]
end
|
#protocol ⇒ Object
691
692
693
|
# File 'lib/fog/ecloud/mock_data_classes.rb', line 691
def protocol
self[:protocol]
end
|
#redirect_url ⇒ Object
703
704
705
|
# File 'lib/fog/ecloud/mock_data_classes.rb', line 703
def redirect_url
self[:redirect_url]
end
|
#timeout ⇒ Object
707
708
709
|
# File 'lib/fog/ecloud/mock_data_classes.rb', line 707
def timeout
self[:timeout] || 2
end
|