Skip to content

Commit

Permalink
VT-5438
Browse files Browse the repository at this point in the history
  • Loading branch information
ajay-plivo committed Mar 28, 2023
1 parent 09f7039 commit edac912
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/plivo/resources/calls.rb
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def to_s
caller_name: @caller_name,
stir_verification: @stir_verification,
stir_attestation: @stir_attestation,
cnam_lookup_number_config: @cnam_lookup_number_config
cnam_lookup: @cnam_lookup
}
call_details = call_details.select {|k, v| !v.nil? }
call_details.to_s
Expand Down
2 changes: 1 addition & 1 deletion spec/mocks/callGetResponse.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
"total_rate": "0.03570",
"stir_verification": "Verified",
"stir_attestation": "A",
"cnam_lookup_number_config": ""
"cnam_lookup": "disabled"
}
4 changes: 2 additions & 2 deletions spec/mocks/callListResponse.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"total_rate": "0.00850",
"stir_verification": "Not Verified",
"stir_attestation": "",
"cnam_lookup_number_config": ""
"cnam_lookup": "disabled"
},
{
"answer_time": "2015-07-26 16:45:02+05:30",
Expand All @@ -46,7 +46,7 @@
"total_rate": "0.00850",
"stir_verification": "Not Applicable",
"stir_attestation": "",
"cnam_lookup_number_config": ""
"cnam_lookup": "disabled"
}
]
}
2 changes: 1 addition & 1 deletion spec/resource_calls_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def to_json(call)
total_rate: call.total_rate,
stir_verification: call.stir_verification,
stir_attestation:call.stir_attestation,
cnam_lookup_number_config:call.cnam_lookup_number_config
cnam_lookup:call.cnam_lookup
}.to_json
end

Expand Down

0 comments on commit edac912

Please sign in to comment.