lib/qa/authorities/getty.rb in qa-0.4.2 vs lib/qa/authorities/getty.rb in qa-0.4.3
- old
+ new
@@ -1,14 +1,9 @@
require 'uri'
module Qa::Authorities
- class Getty < WebServiceBase
-
- def initialize *args
- super
- @sub_authority ||= args.first
- raise "No sub-authority provided" if sub_authority.nil?
- end
+ class Getty < AuthorityWithSubAuthority
+ include WebServiceBase
def sub_authorities
[ "aat" ]
end