Sha256: e94520157149da8ca895afe76fac03701588788c23b999dea2e736a9e50623b1
Contents?: true
Size: 1.33 KB
Versions: 7
Compression:
Stored size: 1.33 KB
Contents
module Videojuicer class Presentation include Videojuicer::Resource include Videojuicer::Resource::Embeddable include Videojuicer::Exceptions property :slug, String property :title, String property :author, String property :author_url, String property :abstract, String property :user_id, Integer, :writer=>:private belongs_to :user, :class=>Videojuicer::User property :callback_url, String property :state, String, :default=>"ready" # see the STATES constant for values property :disclosure, String, :default=>"public" # see DISCLOSURES constant for values property :publish_from, DateTime property :publish_until, DateTime property :document_layout, String property :document_content, String # the presentation document property :document_type, String, :default=>"SMIL 3.0" property :created_at, DateTime property :updated_at, DateTime property :image_asset_id, Integer # FIXME make me a relationship helper property :tag_list, String def permalink proxy = proxy_for(config) "#{proxy.host_stub}/presentations/#{id}.html?seed_name=#{seed_name}".gsub(":80/","/") end end end
Version data entries
7 entries across 7 versions & 2 rubygems