Class: Fog::Proxmox::Storage::Mock
- Inherits:
-
Object
- Object
- Fog::Proxmox::Storage::Mock
- Defined in:
- lib/fog/proxmox/storage.rb,
lib/fog/proxmox/storage/requests/upload_iso.rb
Overview
class Mock upload_iso request
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.
- #upload_iso(_path_params, _body_params) ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ Mock
Returns a new instance of Mock.
40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/fog/proxmox/storage.rb', line 40 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.
38 39 40 |
# File 'lib/fog/proxmox/storage.rb', line 38 def config @config end |
Instance Method Details
#upload_iso(_path_params, _body_params) ⇒ Object
42 |
# File 'lib/fog/proxmox/storage/requests/upload_iso.rb', line 42 def upload_iso(_path_params, _body_params); end |