Class: Textus::Action::Doctor

Inherits:
Base
  • Object
show all
Defined in:
lib/textus/action/doctor.rb

Class Method Summary collapse

Methods inherited from Base

inherited, proposal_from

Methods included from Contract::DSL

#arg, #cli, #cli_stdin, #contract, #contract?, #summary, #surfaces, #verb, #view

Class Method Details

.call(container:, call:, checks: nil) ⇒ Object



12
13
14
# File 'lib/textus/action/doctor.rb', line 12

def self.call(container:, call:, checks: nil, **)
  Success(Textus::Doctor.build(container: container, checks: checks, role: call.role))
end