Class: NVX::SDS::SOAP::UploadFile

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#fileDataObject

Returns the value of attribute fileData.



22
23
24
# File 'lib/nvx/sds/SOAP/default.rb', line 22

def fileData
  @fileData
end

#pathObject

Returns the value of attribute path.



21
22
23
# File 'lib/nvx/sds/SOAP/default.rb', line 21

def path
  @path
end

#uploadTokenObject

Returns the value of attribute uploadToken.



20
21
22
# File 'lib/nvx/sds/SOAP/default.rb', line 20

def uploadToken
  @uploadToken
end