Class: NVX::SDS::SOAP::UploadFile
- Inherits:
-
Object
- Object
- NVX::SDS::SOAP::UploadFile
- Defined in:
- lib/nvx/sds/soap/default.rb
Overview
This is a wrapper class for the SOAP driver created with Soap2wsdl Please see the documentation for SoapUpload for usage and an upload example.
Constant Summary collapse
- @@schema_type =
"UploadFile"
- @@schema_ns =
"http://transfer.nirvanix.com/ws/Transfer"
- @@schema_qualified =
"true"
- @@schema_element =
[["uploadToken", "SOAP::SOAPString"], ["path", "SOAP::SOAPString"], ["fileData", "SOAP::SOAPBase64"]]
Instance Attribute Summary collapse
-
#fileData ⇒ Object
Returns the value of attribute fileData.
-
#path ⇒ Object
Returns the value of attribute path.
-
#uploadToken ⇒ Object
Returns the value of attribute uploadToken.
Instance Method Summary collapse
-
#initialize(uploadToken = nil, path = nil, fileData = nil) ⇒ UploadFile
constructor
A new instance of UploadFile.
Constructor Details
#initialize(uploadToken = nil, path = nil, fileData = nil) ⇒ UploadFile
Returns a new instance of UploadFile.
24 25 26 27 28 |
# File 'lib/nvx/sds/soap/default.rb', line 24 def initialize(uploadToken = nil, path = nil, fileData = nil) @uploadToken = uploadToken @path = path @fileData = fileData end |
Instance Attribute Details
#fileData ⇒ Object
Returns the value of attribute fileData.
22 23 24 |
# File 'lib/nvx/sds/soap/default.rb', line 22 def fileData @fileData end |
#path ⇒ Object
Returns the value of attribute path.
21 22 23 |
# File 'lib/nvx/sds/soap/default.rb', line 21 def path @path end |
#uploadToken ⇒ Object
Returns the value of attribute uploadToken.
20 21 22 |
# File 'lib/nvx/sds/soap/default.rb', line 20 def uploadToken @uploadToken end |