shutl_resource 1.3.3 → 1.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/shutl/resource/rest.rb +1 -1
- data/lib/shutl/resource/version.rb +1 -1
- metadata +1 -1
data/lib/shutl/resource/rest.rb
CHANGED
@@ -79,7 +79,7 @@ module Shutl::Resource
|
|
79
79
|
end
|
80
80
|
|
81
81
|
def attributes
|
82
|
-
(instance_variables).inject({}.with_indifferent_access) do |h, var|
|
82
|
+
(instance_variables- [:@errors, :@pagination]).inject({}.with_indifferent_access) do |h, var|
|
83
83
|
h.merge( { var.to_s.gsub('@','').to_sym => instance_variable_get(var)})
|
84
84
|
end
|
85
85
|
end
|