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