Class: Unit::CheckDeposit::UploadImageRequest
- Inherits:
-
Object
- Object
- Unit::CheckDeposit::UploadImageRequest
- Defined in:
- lib/unit/models/check_deposit/upload_image_request.rb
Instance Attribute Summary collapse
-
#deposit_id ⇒ Object
readonly
Returns the value of attribute deposit_id.
-
#file_content ⇒ Object
readonly
Returns the value of attribute file_content.
-
#is_front_side ⇒ Object
readonly
Returns the value of attribute is_front_side.
Instance Method Summary collapse
-
#initialize(deposit_id, file_content, is_front_side: true) ⇒ UploadImageRequest
constructor
A new instance of UploadImageRequest.
Constructor Details
#initialize(deposit_id, file_content, is_front_side: true) ⇒ UploadImageRequest
Returns a new instance of UploadImageRequest.
15 16 17 18 19 |
# File 'lib/unit/models/check_deposit/upload_image_request.rb', line 15 def initialize(deposit_id, file_content, is_front_side: true) @deposit_id = deposit_id @file_content = file_content @is_front_side = is_front_side end |
Instance Attribute Details
#deposit_id ⇒ Object (readonly)
Returns the value of attribute deposit_id.
10 11 12 |
# File 'lib/unit/models/check_deposit/upload_image_request.rb', line 10 def deposit_id @deposit_id end |
#file_content ⇒ Object (readonly)
Returns the value of attribute file_content.
10 11 12 |
# File 'lib/unit/models/check_deposit/upload_image_request.rb', line 10 def file_content @file_content end |
#is_front_side ⇒ Object (readonly)
Returns the value of attribute is_front_side.
10 11 12 |
# File 'lib/unit/models/check_deposit/upload_image_request.rb', line 10 def is_front_side @is_front_side end |