Class: Fog::Proxmox::Storage::Mock
- Inherits:
-
Object
- Object
- Fog::Proxmox::Storage::Mock
- Defined in:
- lib/fog/proxmox/storage.rb,
lib/fog/proxmox/storage/requests/list.rb,
lib/fog/proxmox/storage/requests/create.rb,
lib/fog/proxmox/storage/requests/upload.rb,
lib/fog/proxmox/storage/requests/list_appliances.rb,
lib/fog/proxmox/storage/requests/download_appliance.rb
Overview
class Mock download_appliance
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Mock
constructor
A new instance of Mock.
Constructor Details
#initialize(options = {}) ⇒ Mock
Returns a new instance of Mock.
43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/fog/proxmox/storage.rb', line 43 def initialize( = {}) @proxmox_uri = URI.parse([:proxmox_url]) @proxmox_auth_method = [:proxmox_auth_method] @proxmox_tokenid = [:proxmox_tokenid] @proxmox_userid = [:proxmox_userid] @proxmox_username = [:proxmox_username] @proxmox_password = [:proxmox_password] @proxmox_token = [:proxmox_token] @proxmox_path = @proxmox_uri.path @config = end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
41 42 43 |
# File 'lib/fog/proxmox/storage.rb', line 41 def config @config end |