Showing 122 of 122 total issues
Avoid too many return
statements within this method. Open
Open
return Result.new(:success => false, :errors => [Exception.new('No refresh token was specified, nor was a username/password/account')])
Avoid too many return
statements within this method. Open
Open
return Result.new(:success => false, :errors => [Exception.new(data['error_description'])], :value => data)
Avoid too many return
statements within this method. Open
Open
return Result.new(:success => false, :errors => [Exception.new(result.to_hash['error_description'])])
Avoid too many return
statements within this method. Open
Open
return Result.new(:success => false, :errors => [Exception.new(e.response['error_description'])], :value => e.response)
Avoid too many return
statements within this method. Open
Open
return Result.new(:success => true, :value => server)
Avoid too many return
statements within this method. Open
Open
return Result.new(:success => false, :errors => [Exception.new(e.response['error_description'])], :value => e.response)
Avoid too many return
statements within this method. Open
Open
return Result.new(:success => false, :errors => [Exception.new('CloudFlow failed to complete successfully')])
Avoid too many return
statements within this method. Open
Open
return Result.new(:success => false, :errors => [Exception.new(response_hash['summary'])])
Avoid too many return
statements within this method. Open
Open
return Result.new(:success => true, :value => access_token)
Avoid too many return
statements within this method. Open
Open
return Result.new(:success => false, :errors => [Exception.new("Timed out after #{timeout}s waiting for Server (id=#{server_id}, name=#{server.name}, deployment_id=#{deployment_id}, deployment_name=#{deployment_name}) to reach state #{state}, currently in state #{server.state}")], :value => server)
Avoid too many return
statements within this method. Open
Open
return Result.new(:success => false, :errors => [e])
Avoid too many return
statements within this method. Open
Open
return Result.new(:success => false, :errors => result.errors, :value => instance)
Avoid too many return
statements within this method. Open
Open
return Result.new(:success => true, :errors => [e])
Avoid too many return
statements within this method. Open
Open
return Result.new(:success => false, :errors => [Exception.new(result.to_hash['error_description'])])
Avoid too many return
statements within this method. Open
Open
return Result.new(:success => false, :errors => result.errors, :notices => result.notices)
Avoid too many return
statements within this method. Open
Open
return Result.new(:success => false, :errors => [e])
Avoid too many return
statements within this method. Open
Open
return Result.new(:success => false, :errors => [Exception.new("#{reponse.code} #{response}")])
Avoid too many return
statements within this method. Open
Open
return Result.new(:success => true, :value => process_id)
Avoid too many return
statements within this method. Open
Open
return Result.new(:success => false, :errors => result.errors, :value => result.value)
Avoid too many return
statements within this method. Open
Open
return Result.new(:success => false, :errors => [Exception.new(e.response['error_description'])], :value => e.response)