Sha256: a823a555866530c14a5dfff853ae5069eff4c377b63926e47ab400c78952beac

Contents?: true

Size: 339 Bytes

Versions: 22

Compression:

Stored size: 339 Bytes

Contents

module Bulldog
  class MissingFile
    def initialize(options={})
      @attachment_type = attachment_type
      @file_name = options[:file_name] || 'missing-file'
      @content_type = options[:content_type]
      @path = options[:path] || '/dev/null'
    end

    attr_reader :attachment_type, :file_name, :content_type, :path
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
bulldog-0.2.4 lib/bulldog/missing_file.rb
bulldog-0.2.3 lib/bulldog/missing_file.rb
bulldog-0.2.2 lib/bulldog/missing_file.rb
bulldog-0.2.1 lib/bulldog/missing_file.rb
bulldog-0.2.0 lib/bulldog/missing_file.rb
bulldog-0.1.1 lib/bulldog/missing_file.rb
bulldog-0.1.0 lib/bulldog/missing_file.rb
bulldog-0.0.15 lib/bulldog/missing_file.rb
bulldog-0.0.14 lib/bulldog/missing_file.rb
bulldog-0.0.13 lib/bulldog/missing_file.rb
bulldog-0.0.12 lib/bulldog/missing_file.rb
bulldog-0.0.11 lib/bulldog/missing_file.rb
bulldog-0.0.10 lib/bulldog/missing_file.rb
bulldog-0.0.9 lib/bulldog/missing_file.rb
bulldog-0.0.8 lib/bulldog/missing_file.rb
bulldog-0.0.7 lib/bulldog/missing_file.rb
bulldog-0.0.6 lib/bulldog/missing_file.rb
bulldog-0.0.5 lib/bulldog/missing_file.rb
bulldog-0.0.3 lib/bulldog/missing_file.rb
bulldog-0.0.4 lib/bulldog/missing_file.rb