Class: Rho::SignatureCapture
- Defined in:
- lib/commonAPI/signature/RhoSignatureApi.rb
Class Method Summary collapse
Class Method Details
.convert_options(opt) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/commonAPI/signature/RhoSignatureApi.rb', line 5 def (opt) if opt != nil res_opt = {} opt.each do |key,value| if value == true value = 'true' end if value == false value = 'false' end res_opt[key.to_s] = value.to_s end return res_opt end return nil end |