module Refinery::Videos

Attributes

root[W]

Public Class Methods

datastore_root_path() click to toggle source
# File lib/refinery/videos/configuration.rb, line 22
def datastore_root_path
  config.datastore_root_path || Rails.root.join('public', 'system', 'refinery', 'videos').to_s
end
factory_paths() click to toggle source
# File lib/refinery/videos.rb, line 21
def factory_paths
  @factory_paths ||= [ root.join('spec', 'factories').to_s ]
end
root() click to toggle source
# File lib/refinery/videos.rb, line 17
def root
  @root ||= Pathname.new(File.expand_path('../../../', __FILE__))
end
s3_access_key_id() click to toggle source
# File lib/refinery/videos/configuration.rb, line 34
def s3_access_key_id
  config.s3_access_key_id.nil? ? Refinery::Core.s3_access_key_id : config.s3_access_key_id
end
s3_backend() click to toggle source
# File lib/refinery/videos/configuration.rb, line 26
def s3_backend
  config.s3_backend.nil? ? Refinery::Core.config.s3_backend : config.s3_backend
end
s3_bucket_name() click to toggle source
# File lib/refinery/videos/configuration.rb, line 30
def s3_bucket_name
  config.s3_bucket_name.nil? ? Refinery::Core.s3_bucket_name : config.s3_bucket_name
end
s3_secret_access_key() click to toggle source
# File lib/refinery/videos/configuration.rb, line 38
def s3_secret_access_key
  config.s3_secret_access_key.nil? ? Refinery::Core.s3_secret_access_key : config.s3_secret_access_key
end