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
717
718
719
|
# File 'lib/fog/ecloud/mock_data_classes.rb', line 717
def backup_service
self[:backup_service]
end
|
#description ⇒ Object
685
686
687
|
# File 'lib/fog/ecloud/mock_data_classes.rb', line 685
def description
self[:description] || "Description for Public IP Service #{name}"
end
|
#enabled ⇒ Object
697
698
699
|
# File 'lib/fog/ecloud/mock_data_classes.rb', line 697
def enabled
!!self[:enabled]
end
|
#monitor ⇒ Object
713
714
715
|
# File 'lib/fog/ecloud/mock_data_classes.rb', line 713
def monitor
nil
end
|
#name ⇒ Object
681
682
683
|
# File 'lib/fog/ecloud/mock_data_classes.rb', line 681
def name
self[:name] || "Public IP Service #{object_id}"
end
|
#node_collection ⇒ Object
#port ⇒ Object
693
694
695
|
# File 'lib/fog/ecloud/mock_data_classes.rb', line 693
def port
self[:port]
end
|
#protocol ⇒ Object
689
690
691
|
# File 'lib/fog/ecloud/mock_data_classes.rb', line 689
def protocol
self[:protocol]
end
|
#redirect_url ⇒ Object
701
702
703
|
# File 'lib/fog/ecloud/mock_data_classes.rb', line 701
def redirect_url
self[:redirect_url]
end
|
#timeout ⇒ Object
705
706
707
|
# File 'lib/fog/ecloud/mock_data_classes.rb', line 705
def timeout
self[:timeout] || 2
end
|