lib/authz/scopables/base.rb
# == Resolution
# Calls .resolve_keyword and ensures that the returned value is
# valid.
Resolution
Calls .resolve_keyword and ensures that the returned value is
valid.
Resolution Calls . resolve_keyword and ensures that the returned value is valid .
def resolve_keyword!(keyword, requester)
        resolved_ids = resolve_keyword(keyword, requester)
        if resolved_ids.is_a? Array
          resolved_ids
        else
          raise UnresolvableKeyword, scopable: self, keyword: keyword,
                                     requester: requester
        end
      end
def resolve_keyword! ( keyword , requester ) resolved_ids = resolve_keyword ( keyword , requester ) if resolved_ids . is_a? Array resolved_ids else raise UnresolvableKeyword , scopable : self , keyword : keyword , requester : requester end end
Resolution
Calls .resolve_keyword and ensures that the returned value is
valid.
Resolution Calls . resolve_keyword and ensures that the returned value is valid .
keyword
requester