Sha256: 8f2ec2e3d0e5c433dc6dd4a354b095dff41833f81bd08f5a11be74aeb1971ada

Contents?: true

Size: 358 Bytes

Versions: 3

Compression:

Stored size: 358 Bytes

Contents

require_relative '../../common/jsonifier'

# Model object for body of a request to submit a document for approval
class SubmitDocumentRequest
  include MangoPay::Jsonifier

  # [String] Custom data added with the request
  attr_accessor :tag

  def initialize(tag = nil)
    self.tag = tag
    @status = MangoModel::DocumentStatus::VALIDATION_ASKED
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mangopay-v4-4.1.0 lib/mangopay/model/request/submit_document_request.rb
mangopay-v4-4.0.2 lib/mangopay/model/request/submit_document_request.rb
mangopay-v4-4.0.1 lib/mangopay/model/request/submit_document_request.rb