lib/shutl/resource/rest.rb in shutl_resource-1.7.0 vs lib/shutl/resource/rest.rb in shutl_resource-1.7.1
- old
+ new
@@ -18,9 +18,10 @@
base.send :resource_id, :id
end
def initialize(args = {})
update_attributes args
+ # self.errors = args['errors'] if args.has_key? 'errors'
end
def as_json(_)
resource_attributes
end