lib/patch_ruby/models/photo.rb in patch_ruby-1.2.5 vs lib/patch_ruby/models/photo.rb in patch_ruby-1.3.0
- old
+ new
@@ -68,9 +68,13 @@
}
if attributes.key?(:'url')
self.url = attributes[:'url']
end
+
+ if attributes.key?(:'id')
+ self.id = attributes[:'id']
+ end
end
# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properties with the reasons
def list_invalid_properties