lib/bandwidth-sdk/models/deferred_result.rb in bandwidth-sdk-11.0.0.pre.beta.1.1 vs lib/bandwidth-sdk/models/deferred_result.rb in bandwidth-sdk-11.0.0.pre.beta.2.0
- old
+ new
@@ -4,11 +4,11 @@
#Bandwidth's Communication APIs
The version of the OpenAPI document: 1.0.0
Contact: letstalk@bandwidth.com
Generated by: https://openapi-generator.tech
-OpenAPI Generator version: 6.4.0
+OpenAPI Generator version: 6.5.0
=end
require 'date'
require 'time'
@@ -48,11 +48,11 @@
# Initializes the object
# @param [Hash] attributes Model attributes in the form of hash
def initialize(attributes = {})
if (!attributes.is_a?(Hash))
- fail ArgumentError, "The input argument (attributes) must be a hash in `Bandwidth::DeferredResult` initialize method"
+ fail ArgumentError, 'The input argument (attributes) must be a hash in `Bandwidth::DeferredResult` initialize method'
end
# check to see if the attribute exists and convert string to symbol for hash key
attributes = attributes.each_with_object({}) { |(k, v), h|
if (!self.class.attribute_map.key?(k.to_sym))
@@ -220,9 +220,7 @@
value.to_hash
else
value
end
end
-
end
-
end