lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb in twilio-ruby-6.4.0 vs lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb in twilio-ruby-6.5.0
- old
+ new
@@ -240,12 +240,12 @@
# Path Solution
@solution = { sid: sid, }
@uri = "/RegulatoryCompliance/Bundles/#{@solution[:sid]}"
# Dependents
- @bundle_copies = nil
@replace_items = nil
+ @bundle_copies = nil
@item_assignments = nil
@evaluations = nil
end
##
# Delete the BundleInstance
@@ -296,21 +296,10 @@
sid: @solution[:sid],
)
end
##
- # Access the bundle_copies
- # @return [BundleCopyList]
- # @return [BundleCopyContext]
- def bundle_copies
- unless @bundle_copies
- @bundle_copies = BundleCopyList.new(
- @version, bundle_sid: @solution[:sid], )
- end
- @bundle_copies
- end
- ##
# Access the replace_items
# @return [ReplaceItemsList]
# @return [ReplaceItemsContext]
def replace_items
unless @replace_items
@@ -318,10 +307,21 @@
@version, bundle_sid: @solution[:sid], )
end
@replace_items
end
##
+ # Access the bundle_copies
+ # @return [BundleCopyList]
+ # @return [BundleCopyContext]
+ def bundle_copies
+ unless @bundle_copies
+ @bundle_copies = BundleCopyList.new(
+ @version, bundle_sid: @solution[:sid], )
+ end
+ @bundle_copies
+ end
+ ##
# Access the item_assignments
# @return [ItemAssignmentList]
# @return [ItemAssignmentContext] if sid was passed.
def item_assignments(sid=:unset)
@@ -555,20 +555,20 @@
email: email,
)
end
##
- # Access the bundle_copies
- # @return [bundle_copies] bundle_copies
- def bundle_copies
- context.bundle_copies
- end
-
- ##
# Access the replace_items
# @return [replace_items] replace_items
def replace_items
context.replace_items
+ end
+
+ ##
+ # Access the bundle_copies
+ # @return [bundle_copies] bundle_copies
+ def bundle_copies
+ context.bundle_copies
end
##
# Access the item_assignments
# @return [item_assignments] item_assignments