lib/twilio-ruby/rest/verify/v2/form.rb in twilio-ruby-6.9.1 vs lib/twilio-ruby/rest/verify/v2/form.rb in twilio-ruby-6.11.0
- old
+ new
@@ -16,10 +16,11 @@
module Twilio
module REST
class Verify < VerifyBase
class V2 < Version
class FormList < ListResource
+
##
# Initialize the FormList
# @param [Version] version Version that contains the resource
# @return [FormList] FormList
def initialize(version)
@@ -59,9 +60,10 @@
##
# Fetch the FormInstance
# @return [FormInstance] Fetched FormInstance
def fetch
+
payload = @version.fetch('GET', @uri)
FormInstance.new(
@version,
payload,
form_type: @solution[:form_type],