Module: LedgerSync::Ledgers::Mixins::InferValidationContractMixin::ClassMethods
- Defined in:
- lib/ledger_sync/ledgers/mixins/infer_validation_contract_mixin.rb
Instance Method Summary collapse
Instance Method Details
#inferred_validation_contract_class ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/ledger_sync/ledgers/mixins/infer_validation_contract_mixin.rb', line 8 def inferred_validation_contract_class @inferred_validation_contract_class ||= begin const_get( inferred_validation_contract_class_name ) end end |
#inferred_validation_contract_class_name ⇒ Object
16 17 18 |
# File 'lib/ledger_sync/ledgers/mixins/infer_validation_contract_mixin.rb', line 16 def inferred_validation_contract_class_name @inferred_validation_contract_class_name ||= "#{name}::Contract" end |