lib/plivo/resources/verify_session.rb in plivo-4.61.0 vs lib/plivo/resources/verify_session.rb in plivo-4.61.1

- old
+ new

@@ -40,30 +40,32 @@ # @param [String] session_uuid def get(session_uuid) perform_get(session_uuid) end - def create(app_uuid = nil, recipient = nil,channel = nil, url = nil, method = nil, locale=nil, brand_name=nil, app_hash=nil, code_length=nil) + def create(app_uuid = nil, recipient = nil,channel = nil, url = nil, method = nil, locale=nil, brand_name=nil, app_hash=nil, code_length=nil, dtmf=nil) valid_param?(:app_uuid, app_uuid, [String, Symbol], false) valid_param?(:recipient, recipient, [Integer, String, Symbol], true) valid_param?(:channel, channel, [String, Symbol], false) valid_param?(:url, url, [String], false) valid_param?(:method, method, String, false, %w[POST GET]) valid_param?(:locale, locale, [String, Symbol], false) valid_param?(:brand_name, brand_name, [String, Symbol], false) valid_param?(:app_hash, app_hash, [String, Symbol], false) valid_param?(:code_length, code_length,[Integer,Symbol], false) + valid_param?(:dtmf, dtmf,[Integer,Symbol], false) params = { app_uuid: app_uuid, recipient: recipient, channel: channel, url: url, method: method, locale: locale, brand_name: brand_name, app_hash: app_hash, - code_length: code_length + code_length: code_length, + dtmf:dtmf } perform_create(params) end def list(options = nil) \ No newline at end of file