Sha256: 0dd4f1ac53a231f273bf3ed663a352947087dc9739a3d78f3fd8a773ab7be13d
Contents?: true
Size: 529 Bytes
Versions: 8
Compression:
Stored size: 529 Bytes
Contents
# Sorenson Namespace module Sorenson # Sorenson Services Namespace module Services # Allows you to access the resources associated with a sorenson services asset. An asset currently refers to video content. class Preset < Base def self.all get_from('/presets') end def self.find_by_name(name) response = get_from("/presets/#{URI.encode(name)}") if response.has_key?(:errors) nil else response['url'] end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems