lib/twilio-ruby/rest/bulkexports/v1/export/day.rb in twilio-ruby-6.9.1 vs lib/twilio-ruby/rest/bulkexports/v1/export/day.rb in twilio-ruby-6.11.0
- old
+ new
@@ -18,10 +18,11 @@
class Bulkexports < BulkexportsBase
class V1 < Version
class ExportContext < InstanceContext
class DayList < ListResource
+
##
# Initialize the DayList
# @param [Version] version Version that contains the resource
# @return [DayList] DayList
def initialize(version, resource_type: nil)
@@ -144,9 +145,10 @@
##
# Fetch the DayInstance
# @return [DayInstance] Fetched DayInstance
def fetch
+
payload = @version.fetch('GET', @uri)
DayInstance.new(
@version,
payload,
resource_type: @solution[:resource_type],