Class: Uploadcare::Entity::FileList
- Inherits:
-
ApiStruct::Entity
- Object
- ApiStruct::Entity
- Uploadcare::Entity::FileList
- Includes:
- Decorator::Paginator
- Defined in:
- lib/uploadcare/entity/file_list.rb
Overview
This serializer returns lists of files
This is a paginated list, so all pagination methods apply
Instance Method Summary collapse
-
#files ⇒ Array
alias for result/results, depending on which API this FileList was initialized from.
Methods included from Decorator::Paginator
#all, #each, #load, #meta, #next_page, #previous_page
Instance Method Details
#files ⇒ Array
alias for result/results, depending on which API this FileList was initialized from
25 26 27 28 29 |
# File 'lib/uploadcare/entity/file_list.rb', line 25 def files results rescue ApiStruct::EntityError result end |