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.
7 8 9 |
# File 'lib/opisator.rb', line 7 def contract @contract end |
Instance Method Details
#call ⇒ Object
40 41 42 43 44 |
# File 'lib/opisator.rb', line 40 def call return self.send(action_name) unless has_call_method? self.send(call_method) end |