Skip to content

Commit

Permalink
Updated source parameter value.
Browse files Browse the repository at this point in the history
  • Loading branch information
fraudlabspro committed Feb 21, 2023
1 parent e669dc2 commit b91cd4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fraudlabspro_ruby/api/order.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def self.validate(params = {})
request.set_form_data({
'key' => FraudlabsproRuby::Configuration.api_key,
'format' => params[:format] || 'json',
'source' => 'FraudLabsPro Ruby SDK',
'source' => 'sdk-ruby',
'source_version' => FraudlabsproRuby::VERSION,
'flp_checksum' => params[:flp_checksum] || '',

Expand Down
2 changes: 2 additions & 0 deletions lib/fraudlabspro_ruby/api/smsverification.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ def self.sendSMS(params = {})
request.set_form_data({
'key' => FraudlabsproRuby::Configuration.api_key,
'format' => params[:format] || 'json',
'source' => 'sdk-ruby',
'source_version' => FraudlabsproRuby::VERSION,
'tel' => params[:tel],
'mesg' => params[:mesg] || '',
'otp_timeout' => params[:otp_timeout] || 3600,
Expand Down

0 comments on commit b91cd4a

Please sign in to comment.