class VimeoVideo

This model acts as a wrapper for uploaded videos only Everything else happens directly with the advanced vimeo api

Constants

MAX_SIZE_IN_MB

What is the max resource size a user can upload

PAGES_PER_ADMIN_INDEX

when listing resources out in the admin area, how many resources should show per page

PAGES_PER_DIALOG

when a dialog pops up with resources, how many resources per page should there be

Public Class Methods

per_page(dialog = false) click to toggle source

How many resources per page should be displayed?

# File app/models/vimeo_video.rb, line 17
def per_page(dialog = false)
  dialog ? PAGES_PER_DIALOG : PAGES_PER_ADMIN_INDEX
end