Module: CleanArchitecture::Interfaces::UseCaseActor

Extended by:
Duckface::ActsAsInterface
Defined in:
lib/clean_architecture/interfaces/use_case_actor.rb

Instance Method Summary collapse

Instance Method Details

#authorized?(_action, _target) ⇒ Boolean

Returns:

  • (Boolean)

Raises:

  • (NotImplementedError)


11
12
13
# File 'lib/clean_architecture/interfaces/use_case_actor.rb', line 11

def authorized?(_action, _target)
  raise NotImplementedError
end

#user_identifierObject

Raises:

  • (NotImplementedError)


15
16
17
# File 'lib/clean_architecture/interfaces/use_case_actor.rb', line 15

def user_identifier
  raise NotImplementedError
end