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