Sha256: c1e88d41b85ad485047aa689541623c4d25eefdd95b1109ec25f376e9bb0cb9a

Contents?: true

Size: 238 Bytes

Versions: 16

Compression:

Stored size: 238 Bytes

Contents

module Locomotive::Coal

  class UploadIO < ::Faraday::UploadIO

    def initialize(filename_or_io, content_type = nil, filename = nil)
      super(filename_or_io, content_type || 'application/octet-stream', filename)
    end

  end

end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
locomotivecms_coal-1.5.0 lib/locomotive/coal/upload_io.rb
locomotivecms_coal-1.4.0 lib/locomotive/coal/upload_io.rb
locomotivecms_coal-1.3.0 lib/locomotive/coal/upload_io.rb
locomotivecms_coal-1.3.0.rc1 lib/locomotive/coal/upload_io.rb
locomotivecms_coal-1.3.0.rc lib/locomotive/coal/upload_io.rb
locomotivecms_coal-1.2.0 lib/locomotive/coal/upload_io.rb
locomotivecms_coal-1.1.0 lib/locomotive/coal/upload_io.rb
locomotivecms_coal-1.0.0 lib/locomotive/coal/upload_io.rb
locomotivecms_coal-1.0.0.rc4 lib/locomotive/coal/upload_io.rb
locomotivecms_coal-1.0.0.rc3 lib/locomotive/coal/upload_io.rb
locomotivecms_coal-1.0.0.rc2 lib/locomotive/coal/upload_io.rb
locomotivecms_coal-1.0.0.rc1 lib/locomotive/coal/upload_io.rb
locomotivecms_coal-1.0.0.pre.beta.2 lib/locomotive/coal/upload_io.rb
locomotivecms_coal-1.0.0.pre.beta.1 lib/locomotive/coal/upload_io.rb
locomotivecms_coal-1.0.0.pre.alpha.3 lib/locomotive/coal/upload_io.rb
locomotivecms_coal-1.0.0.pre.alpha.2 lib/locomotive/coal/upload_io.rb