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/SOAP/default.rb,
lib/nvx/sds/accountlogin.rb,
lib/nvx/sds/httpdownload.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, # API errors. MissingRequiredParameter = 100, InvalidParameter = 101, UnsupportedOperation = 160, # Billing errors ParameterOutOfAcceptedRange = 50103, InvalidPayment = 55001, CreditCardChargeFailed = 55100, # Account errors. CreateAccountFailed = 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, # File system errors. FolderNotFound = 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, # Authentication/Authorizarion errors. LoginFailed = 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, # Storage errors StorageNotAvailable = 85001, ServerNotFound = 85003, # Utility errors. Configuration = 90001, SSLRequired = 90002, # SQL Errors Database = 100001