lib/duracloud/properties.rb in duracloud-client-0.1.2 vs lib/duracloud/properties.rb in duracloud-client-0.1.3
- old
+ new
@@ -87,9 +87,17 @@
# @api private
def property?(prop)
self.class.property?(prop)
end
+ # Filter the hash of properties, selecting only the properties valid
+ # for this particular usage (subclass).
+ # @param hsh [Hash] the unfiltered properties
+ # @return [Hash] the filtered properties
+ def filter(hsh)
+ self.class.filter(hsh)
+ end
+
# @api private
def regular_writer(key, value)
if property?(key)
super
else