Class: Fog::Ecloud::MockDataClasses::MockBackupInternetService
- Inherits:
-
Base
- Object
- Hash
- Base
- Fog::Ecloud::MockDataClasses::MockBackupInternetService
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
permalink
#description ⇒ Object
[View source]
660
661
662
|
# File 'lib/fog/ecloud/compute.rb', line 660
def description
self[:description] || "Description for Backup Service #{name}"
end
|
[View source]
652
653
654
|
# File 'lib/fog/ecloud/compute.rb', line 652
def enabled
self[:enabled].to_s.downcase != "false"
end
|
[View source]
640
641
642
|
# File 'lib/fog/ecloud/compute.rb', line 640
def name
self[:name] || "Backup Internet Service #{object_id}"
end
|
[View source]
648
649
650
|
# File 'lib/fog/ecloud/compute.rb', line 648
def port
0
end
|
permalink
#protocol ⇒ Object
[View source]
644
645
646
|
# File 'lib/fog/ecloud/compute.rb', line 644
def protocol
self[:protocol]
end
|
permalink
#redirect_url ⇒ Object
[View source]
664
665
666
|
# File 'lib/fog/ecloud/compute.rb', line 664
def redirect_url
nil
end
|
[View source]
656
657
658
|
# File 'lib/fog/ecloud/compute.rb', line 656
def timeout
self[:timeout] || 2
end
|