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.0.2 lib/bulldog/missing_file.rb
bulldog-0.0.1 lib/bulldog/missing_file.rb