Class: Tmdb::Job
Class Method Summary collapse
Methods inherited from Struct
Constructor Details
This class inherits a constructor from Tmdb::Struct
Class Method Details
.list(filters = {}) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/tmdb/job.rb', line 4 def self.list(filters={}) result = Resource.new('/job/list', filters).get result['jobs'].map do |job| self.new(job) end end |