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



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

def files
  collection_for_type('file')
end

#foldersObject



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

def folders
  collection_for_type('folder')
end


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

def web_links
  collection_for_type('web_link')
end