Class: Riiif::NilAuthorizationService

Inherits:
Object
  • Object
show all
Defined in:
app/services/riiif/nil_authorization_service.rb

Instance Method Summary collapse

Constructor Details

#initialize(_controller) ⇒ NilAuthorizationService

Returns a new instance of NilAuthorizationService.



3
# File 'app/services/riiif/nil_authorization_service.rb', line 3

def initialize(_controller); end

Instance Method Details

#can?(_action, _object) ⇒ Boolean

Returns:

  • (Boolean)


5
6
7
# File 'app/services/riiif/nil_authorization_service.rb', line 5

def can?(_action, _object)
  true
end