Module: LedgerSync::Domains::Operation::OperationResult::ResultTypeBase
- Defined in:
- lib/ledger_sync/domains/operation.rb
Instance Attribute Summary collapse
-
#meta ⇒ Object
readonly
Returns the value of attribute meta.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#meta ⇒ Object (readonly)
Returns the value of attribute meta.
17 18 19 |
# File 'lib/ledger_sync/domains/operation.rb', line 17 def @meta end |
Class Method Details
.included(base) ⇒ Object
19 20 21 22 23 |
# File 'lib/ledger_sync/domains/operation.rb', line 19 def self.included(base) base.class_eval do simply_serialize only: %i[meta] end end |
Instance Method Details
#initialize(*args, meta: nil) ⇒ Object
25 26 27 28 |
# File 'lib/ledger_sync/domains/operation.rb', line 25 def initialize(*args, meta: nil) @meta = super(*args) end |