Sha256: 01b0e216436fee0b80901e0391f8a712d86c16c766d12955e601dc8e8d561592

Contents?: true

Size: 511 Bytes

Versions: 5

Compression:

Stored size: 511 Bytes

Contents

module Hydra
  module Derivatives
    class Config
      attr_writer :ffmpeg_path, :libreoffice_path, :temp_file_base, :fits_path, :enable_ffmpeg
      def ffmpeg_path
        @ffmpeg_path ||= 'ffmpeg'
      end

      def libreoffice_path
        @libreoffice_path ||= 'soffice'
      end

      def temp_file_base
        @temp_file_base ||= '/tmp'
      end

      def fits_path
        @fits_path ||= 'fits.sh'
      end

      def enable_ffmpeg
        @enable_ffmpeg ||= true
      end

    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hydra-derivatives-0.0.7 lib/hydra/derivatives/config.rb
hydra-derivatives-0.0.6 lib/hydra/derivatives/config.rb
hydra-derivatives-0.0.5 lib/hydra/derivatives/config.rb
hydra-derivatives-0.0.4 lib/hydra/derivatives/config.rb
hydra-derivatives-0.0.3 lib/hydra/derivatives/config.rb