Skip to content

Instantly share code, notes, and snippets.

@ahk
Created July 19, 2012 22:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahk/3147357 to your computer and use it in GitHub Desktop.
Save ahk/3147357 to your computer and use it in GitHub Desktop.
panda create a new encoding
encoding = Panda::Encoding.create(:video_id => 1234, :profile_id => 6789)
or
video = Panda::Video.find("123")
encoding = video.encodings.create(:profile => "profile_id")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment