lib/twilio-ruby/rest/bulkexports/v1/export.rb in twilio-ruby-5.38.0 vs lib/twilio-ruby/rest/bulkexports/v1/export.rb in twilio-ruby-5.39.0

- old
+ new

@@ -99,21 +99,15 @@ @days = nil @export_custom_jobs = nil end ## - # Fetch a ExportInstance + # Fetch the ExportInstance # @return [ExportInstance] Fetched ExportInstance def fetch - params = Twilio::Values.of({}) + payload = @version.fetch('GET', @uri) - payload = @version.fetch( - 'GET', - @uri, - params, - ) - ExportInstance.new(@version, payload, resource_type: @solution[:resource_type], ) end ## # Access the days @@ -212,10 +206,10 @@ def links @properties['links'] end ## - # Fetch a ExportInstance + # Fetch the ExportInstance # @return [ExportInstance] Fetched ExportInstance def fetch context.fetch end \ No newline at end of file