lib/qa/authorities/base.rb in qa-0.10.1 vs lib/qa/authorities/base.rb in qa-0.10.2
- old
+ new
@@ -13,15 +13,14 @@
# By default, #find is not implemented.
# If the subclassed authority does have this feature
# then you will overide the #find method in the subclassed authority.
# TODO: need to set some kind of error here
- def find id
+ def find(id)
end
- def full_record id, subauthority=nil
+ def full_record(id, _subauthority = nil)
Deprecation.warn(".full_record is deprecated. Use .find instead")
find(id)
end
-
end
end