Class: Unit::CheckDeposit::GetImageRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/unit/models/check_deposit/get_image_request.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(deposit_id, is_front_side: true) ⇒ GetImageRequest

Returns a new instance of GetImageRequest.

Parameters:

  • deposit_id (String)
  • is_front_side (Boolean) (defaults to: true)
    • optional



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_idObject (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_sideObject (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