lib/twilio-ruby/rest/verify/v2/service/entity.rb in twilio-ruby-6.0.0.pre.rc.3 vs lib/twilio-ruby/rest/verify/v2/service/entity.rb in twilio-ruby-6.0.0

- old
+ new

@@ -192,17 +192,12 @@ # @return [NewFactorList] # @return [NewFactorContext] def new_factors unless @new_factors @new_factors = NewFactorList.new( - @version, - service_sid: @solution[:service_sid], - entity_identity: @solution[:identity] - - ) + @version, service_sid: @solution[:service_sid], identity: @solution[:identity], ) end - @new_factors end ## # Access the factors # @return [FactorList] @@ -215,15 +210,11 @@ return FactorContext.new(@version, @solution[:service_sid], @solution[:identity],sid ) end unless @factors @factors = FactorList.new( - @version, - service_sid: @solution[:service_sid], - entity_identity: @solution[:identity] - - ) + @version, service_sid: @solution[:service_sid], identity: @solution[:identity], ) end @factors end ## @@ -238,14 +229,10 @@ return ChallengeContext.new(@version, @solution[:service_sid], @solution[:identity],sid ) end unless @challenges @challenges = ChallengeList.new( - @version, - service_sid: @solution[:service_sid], - entity_identity: @solution[:identity] - - ) + @version, service_sid: @solution[:service_sid], identity: @solution[:identity], ) end @challenges end