Module: NVX::SDS

Includes:
REXML
Defined in:
lib/nvx/sds/folder.rb,
lib/nvx/sds/nvxfile.rb,
lib/nvx/sds/session.rb,
lib/nvx/sds/apiparam.rb,
lib/nvx/sds/itembase.rb,
lib/nvx/sds/transport.rb,
lib/nvx/sds/apicommand.rb,
lib/nvx/sds/hosteditem.rb,
lib/nvx/sds/httpupload.rb,
lib/nvx/sds/searchitem.rb,
lib/nvx/sds/accountlogin.rb,
lib/nvx/sds/httpdownload.rb,
lib/nvx/sds/soap/default.rb,
lib/nvx/sds/masteraccount.rb,
lib/nvx/sds/soap/defaultDriver.rb,
lib/nvx/sds/apiclasses/utilities.rb,
lib/nvx/sds/apiclasses/soapupload.rb,
lib/nvx/sds/apiclasses/accountinfo.rb,
lib/nvx/sds/apiclasses/contactinfo.rb,
lib/nvx/sds/apiclasses/accountlimit.rb,
lib/nvx/sds/apiclasses/fsfolderlist.rb,
lib/nvx/sds/apiclasses/metadatainfo.rb,
lib/nvx/sds/apiclasses/responsecodes.rb,
lib/nvx/sds/apiclasses/fsfileattributes.rb,
lib/nvx/sds/apiclasses/fsfolderattributes.rb,
lib/nvx/sds/apiclasses/accountfeatureusage.rb

Defined Under Namespace

Modules: SOAP Classes: APICommand, APIParam, AccountFeatureUsage, AccountInfo, AccountLimit, AccountLogin, ContactInfo, FSFileAttributes, FSFolderAttributes, FSFolderList, Folder, HostedItem, HttpDownload, HttpUpload, ItemBase, MasterAccount, MetadataInfo, NVXFile, RetryException, SearchItem, Session, SoapUpload, Transport, Utilities

Constant Summary collapse

Newline =
"\r\n"
USERAGENT =
"Nirvanix Ruby SDK"
BLOCKSIZE =

upload 4 Mb chunks. 4 Mb is usually quite efficient but you may want to change this to a larger value if you are on a very fast connection or have very high latency.

1024 * 1024 * 4
OK =

Response Codes that can be returned from the services are listed below as constants

0
MissingRequiredParameter =

API errors.

100
InvalidParameter =
101
UnsupportedOperation =
160
ParameterOutOfAcceptedRange =

Billing errors

50103
InvalidPayment =
55001
CreditCardChargeFailed =
55100
CreateAccountFailed =

Account errors.

65001
CreateAccountContactFailed =
65002
InvalidAppKey =
65004
InvalidAccountType =
65005
DuplicateUserNameUnderAppKey =
65006
DuplicateAppName =
65007
PageSizeExceedsLimit =
65008
DeletedAccount =
65009
InvalidStatus =
65010
InvalidSecurityResponse =
65011
InvalidUserNameOrPassword =
65012
DuplicateMasterAccountUserName =
65016
PageNumberExceeded =
65017
InvalidContactParameter =
65101
AppNameNotFound =
65102
UserNameNotFoundUnderAppKey =
65103
UserNameNotFound =
65104
FolderNotFound =

File system errors.

70001
FileNotFound =
70002
PathNotFound =
70003
AlreadyExists =
70004
InvalidPath =
70005
DownloadPathNotFound =
70006
MetadataDoesNotExist =
70007
FolderAlreadyExists =
70008
PathTooLong =
70009
FileFolderNameTooLong =
70010
ItemAlreadyShared =
70012
PathNotShared =
70013
NullOrEmptyPath =
70101
InvalidPathCharacter =
70102
InvalidAbsolutePath =
70103
InvalidRelativePath =
70104
FileIntegrityError =
70106
InvalidMetadata =
70107
RangeNotSatisfiable =
70108
PathTooShort =
70109
FileOffline =
70110
InvalidImageDimensions =
70111
InvalidRotateFlipType =
70112
InvalidSearchItem =
70113
InvalidFileFolderNameCharacter =
70114
LoginFailed =

Authentication/Authorizarion errors.

80001
AccessDenied =
80003
InvalidMasterAccountID =
80004
InvalidBillableAccountID =
80005
SessionNotFound =
80006
AccountExpired =
80007
OutOfBytes =
80015
OutOfBytesNonOwner =
80016
InvalidIPAddress =
80018
DownloadFileSizeLimitExceded =
80019
UploadBandwidthLimitExceeded =
80020
StorageLimitExceeded =
80021
LimitAlreadyExceeded =
80022
InvalidAccessToken =
80023
InvalidSessionToken =
80101
ExpiredAccessToken =
80102
InvalidDownloadToken =
80103
StorageNotAvailable =

Storage errors

85001
ServerNotFound =
85003
Configuration =

Utility errors.

90001
SSLRequired =
90002
Database =

SQL Errors

100001