Class: BoxrCollection

Inherits:
Array
  • Object
show all
Defined in:
lib/boxr.rb

Overview

Simple wrapper around Array

Instance Method Summary collapse

Instance Method Details

#filesObject



36
37
38
# File 'lib/boxr.rb', line 36

def files
  collection_for_type('file')
end

#foldersObject



40
41
42
# File 'lib/boxr.rb', line 40

def folders
  collection_for_type('folder')
end


44
45
46
# File 'lib/boxr.rb', line 44

def web_links
  collection_for_type('web_link')
end