lib/dito/identify.rb in dito-0.0.1 vs lib/dito/identify.rb in dito-0.0.2

- old
+ new

@@ -21,10 +21,10 @@ elsif user[:id].present? network_name = 'portal' id = user[:id] params[:network_name] = 'pt' else - return { error: { message: 'Missing the user id param. See the available options here: http://developers.dito.com.br/docs/sdks/ruby' } } + return { :error => { :message => 'Missing the user id param. See the available options here: http://developers.dito.com.br/docs/sdks/ruby' } } end params[:user_data] = {} if network_name == 'portal' \ No newline at end of file