Sha256: b062cc32de6b40705e6cc5a616722bc6b775a10d1cd781bcf610c715cdd405f4

Contents?: true

Size: 257 Bytes

Versions: 4

Compression:

Stored size: 257 Bytes

Contents

class FutureTransfer
  attr_accessor :message, :files

  def initialize(message:, files: [])
    @message = message
    @files = files
  end

  def to_request_params
    {
      message: message,
      files: files.map(&:to_request_params),
    }
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wetransfer-0.9.0.beta3 lib/we_transfer_client/future_transfer.rb
wetransfer-0.9.0.beta2 lib/we_transfer_client/future_transfer.rb
wetransfer-0.9.0.beta1 lib/we_transfer_client/future_transfer.rb
wetransfer-0.9.0.beta lib/we_transfer_client/future_transfer.rb