Class: SubmitDocumentRequest
- Inherits:
-
Object
- Object
- SubmitDocumentRequest
- Includes:
- MangoPay::Jsonifier
- Defined in:
- lib/mangopay/model/request/submit_document_request.rb
Overview
Model object for body of a request to submit a document for approval
Constant Summary
Constants included from MangoPay::Jsonifier
Instance Attribute Summary collapse
-
#tag ⇒ Object
- String
-
Custom data added with the request.
Instance Method Summary collapse
-
#initialize(tag = nil) ⇒ SubmitDocumentRequest
constructor
A new instance of SubmitDocumentRequest.
Methods included from MangoPay::Jsonifier
Constructor Details
#initialize(tag = nil) ⇒ SubmitDocumentRequest
Returns a new instance of SubmitDocumentRequest.
10 11 12 13 |
# File 'lib/mangopay/model/request/submit_document_request.rb', line 10 def initialize(tag = nil) self.tag = tag @status = MangoModel::DocumentStatus::VALIDATION_ASKED end |
Instance Attribute Details
#tag ⇒ Object
- String
-
Custom data added with the request
8 9 10 |
# File 'lib/mangopay/model/request/submit_document_request.rb', line 8 def tag @tag end |