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