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