Skip to content
Limelight video platform ruby client
Ruby
Find file
Pull request Compare This branch is 13 commits behind elcuervo:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
test
Gemfile
Gemfile.lock
README.md
Rakefile
limelight_video.gemspec

README.md

Limelight Video

API interaction with the Limelight CDN

require 'limelight_video'

limelight = Limelight.new(
  organization: 'your organization key',
  access_key: 'your access key',
  secret: 'your secret key',
)

# Upload a file
limelight.upload('~/Downloads/sample.mp4', title: 'My cool file')

# Uploads a stream, the filename is needed for the mime type in the upload
limelight.upload(io_stream, title: 'My cool file', filename: 'dancing_cat.mp4')
Something went wrong with that request. Please try again.