Sha256: 05f39f7ccc257ae7f01ba8b14e9743d5d1bd2a50fff475b22254a80581df9d92

Contents?: true

Size: 556 Bytes

Versions: 2

Compression:

Stored size: 556 Bytes

Contents

module DropboxApi::Metadata
  # Example of a serialized {PhotoMetadata} object:
  #   {
  #     ".tag": "photo",
  #     "dimensions": {
  #       "height": 1500,
  #       "width": 1500
  #     },
  #     "location": {
  #       "latitude": 10.123456,
  #       "longitude": 5.123456
  #     }
  #     "time_taken": "2016-09-04T17:00:27Z"
  #   }
  class PhotoMetadata < Base
    field :dimensions, DropboxApi::Metadata::Dimensions, :optional
    field :location, DropboxApi::Metadata::Location, :optional
    field :time_taken, Time, :optional
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dropbox_api-0.1.10 lib/dropbox_api/metadata/photo_metadata.rb
dropbox_api-0.1.9 lib/dropbox_api/metadata/photo_metadata.rb