Module: Opisator
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/opisator.rb,
lib/opisator/defaults/contract.rb,
lib/opisator/defaults/presenter.rb,
lib/opisator/defaults/interactor.rb
Defined Under Namespace
Modules: Defaults
Instance Attribute Summary collapse
-
#contract ⇒ Object
Returns the value of attribute contract.
Instance Method Summary collapse
Instance Attribute Details
#contract ⇒ Object
Returns the value of attribute contract.
6 7 8 |
# File 'lib/opisator.rb', line 6 def contract @contract end |
Instance Method Details
#call ⇒ Object
39 40 41 42 43 |
# File 'lib/opisator.rb', line 39 def call return self.send(action_name) unless has_call_method? self.send(call_method) end |