Class: JumioRock::PerformNetverifyParams

Inherits:
NetverifyParams show all
Defined in:
lib/jumio_rock/perform_netverify_params.rb

Constant Summary collapse

IMAGE_MAX_SIZE =
5 *1024 *1014

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from NetverifyParams

#to_json

Constructor Details

#initialize(scan_reference, front_side_image_path) ⇒ PerformNetverifyParams



10
11
12
13
# File 'lib/jumio_rock/perform_netverify_params.rb', line 10

def initialize(scan_reference, front_side_image_path)
  @merchantIdScanReference = scan_reference
  encode_image front_side_image_path
end

Instance Attribute Details

#callbackUrlObject

Returns the value of attribute callbackUrl.



7
8
9
# File 'lib/jumio_rock/perform_netverify_params.rb', line 7

def callbackUrl
  @callbackUrl
end

#frontsideImageObject (readonly)

Returns the value of attribute frontsideImage.



8
9
10
# File 'lib/jumio_rock/perform_netverify_params.rb', line 8

def frontsideImage
  @frontsideImage
end

#merchantIdScanReferenceObject (readonly)

Returns the value of attribute merchantIdScanReference.



8
9
10
# File 'lib/jumio_rock/perform_netverify_params.rb', line 8

def merchantIdScanReference
  @merchantIdScanReference
end