Class: Panda::Encoding

Inherits:
Resource show all
Includes:
VideoState, Viewable
Defined in:
lib/panda/resources/encoding.rb

Constant Summary

Constants included from Router

Router::VAR_PATTERN

Instance Attribute Summary

Attributes inherited from Base

#attributes, #errors

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Viewable

#screenshots, #url

Methods included from VideoState

#fail?, #processing?, #success?

Methods inherited from Resource

#cloud, cloud, #initialize, method_missing, #reload

Methods included from CloudConnection

#connection

Methods included from Associations

included

Methods included from Destroyers

#delete, included

Methods inherited from Base

#changed?, #id, #id=, #initialize, #new?, #reload, sti_name

Methods included from Finders

included

Methods included from Builders

#create, #create!, included

Methods included from Router

included, #replace_pattern_with_self_variables

Constructor Details

This class inherits a constructor from Panda::Resource

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Panda::Base

Class Method Details

.firstObject



10
11
12
# File 'lib/panda/resources/encoding.rb', line 10

def first
  EncodingScope.new(self).per_page(1).first
end

Instance Method Details

#screenshots_sizeObject



15
# File 'lib/panda/resources/encoding.rb', line 15

def screenshots_size; 7 end