Class: DropboxApi::Metadata::UploadSessionCursor

Inherits:
Base
  • Object
show all
Defined in:
lib/dropbox_api/metadata/upload_session_cursor.rb

Overview

Example of a serialized UploadSessionCursor object:

{
  "session_id": "AAAAAAAABCJ61k9yZZtn8Q",
  "offset":9
}

Instance Method Summary collapse

Methods inherited from Base

field, #initialize, #serialized_field, #to_hash

Constructor Details

This class inherits a constructor from DropboxApi::Metadata::Base

Instance Method Details

#offset=(n) ⇒ Object



14
15
16
# File 'lib/dropbox_api/metadata/upload_session_cursor.rb', line 14

def offset=(n)
  self[:offset] = n
end