Sha256: 07179e8c60ee421d340f5162088d68f6a23beae92d3c24d261b1b19ae3013a1a

Contents?: true

Size: 392 Bytes

Versions: 14

Compression:

Stored size: 392 Bytes

Contents

# bandwidth
#
# This file was automatically generated by APIMATIC v2.0
# ( https://apimatic.io ).

module Bandwidth
  # A utility to allow users to set the content-type for files
  class FileWrapper
    attr_reader :content_type, :file

    def initialize(file, content_type: 'application/octet-stream')
      @file = file
      @content_type = content_type
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
bandwidth-sdk-10.5.0 lib/bandwidth/utilities/file_wrapper.rb
bandwidth-sdk-10.4.0 lib/bandwidth/utilities/file_wrapper.rb
bandwidth-sdk-10.3.0 lib/bandwidth/utilities/file_wrapper.rb
bandwidth-sdk-10.2.0 lib/bandwidth/utilities/file_wrapper.rb
bandwidth-sdk-10.1.0 lib/bandwidth/utilities/file_wrapper.rb
bandwidth-sdk-10.0.0 lib/bandwidth/utilities/file_wrapper.rb
bandwidth-sdk-9.4.1 lib/bandwidth/utilities/file_wrapper.rb
bandwidth-sdk-9.4.0 lib/bandwidth/utilities/file_wrapper.rb
bandwidth-sdk-9.3.0 lib/bandwidth/utilities/file_wrapper.rb
bandwidth-sdk-9.2.0 lib/bandwidth/utilities/file_wrapper.rb
bandwidth-sdk-9.1.2 lib/bandwidth/utilities/file_wrapper.rb
bandwidth-sdk-9.1.1 lib/bandwidth/utilities/file_wrapper.rb
bandwidth-sdk-9.1.0 lib/bandwidth/utilities/file_wrapper.rb
bandwidth-sdk-9.0.0 lib/bandwidth/utilities/file_wrapper.rb