Sha256: 81ba37c9380131e0874e02ef45a2c2aa16f5d76f02233f235930140bbbc7eb96

Contents?: true

Size: 461 Bytes

Versions: 2

Compression:

Stored size: 461 Bytes

Contents

module VzaarApi
  module Signature
    class Multipart < Abstract

      include Lib::HasResourceUrl

      ENDPOINT = 'signature/multipart/2'

      attr_reader :upload_hostname, :part_size, :part_size_in_bytes, :parts

      def after_initialize(attrs = {})
        @part_size = attrs[:part_size]
        @part_size_in_bytes = attrs[:part_size_in_bytes]
        @parts = attrs[:parts]
      end

      def multipart?
        true
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vzaar_api-2.0.2 lib/vzaar_api/signature/multipart.rb
vzaar_api-2.0.1 lib/vzaar_api/signature/multipart.rb