class Dropbox::FolderMetadata
Contains the metadata (but not contents) of a folder.
Attributes
id[R]
Public Class Methods
new(attrs={})
click to toggle source
Calls superclass method
Dropbox::Metadata::new
# File lib/dropbox/metadata.rb, line 39 def initialize(attrs={}) @id = attrs.delete('id') super(attrs) end
Public Instance Methods
==(cmp)
click to toggle source
# File lib/dropbox/metadata.rb, line 44 def ==(cmp) cmp.is_a?(self.class) && self.id == cmp.id end