Sha256: 608d8319f8ab0949feeb7341992e190c37bc11e5c81657a79b08eb1aea54d751

Contents?: true

Size: 584 Bytes

Versions: 2

Compression:

Stored size: 584 Bytes

Contents

module TabloConnect
  class Engine < ::Rails::Engine
    isolate_namespace TabloConnect

    config.generators do |g|
      g.test_framework :rspec
      g.fixture_replacement :factory_girl, :dir => 'spec/factories'
    end
  end

  class << self
    mattr_accessor :tablo_ip
    self.tablo_ip = '192.168.1.99'

    mattr_accessor :tablo_port
    self.tablo_port = '180809'

    mattr_accessor :ffmpeg_path
    self.ffmpeg_path = '/usr/local/bin/ffmpeg'

    mattr_accessor :output_directory
    self.output_directory = '/tmp'
  end

  def self.setup(&block)
    yield self
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tablo_connect-0.0.3 lib/tablo_connect/engine.rb
tablo_connect-0.0.2 lib/tablo_connect/engine.rb