app/models/deposit.rb
# Creates dependant operations for complete deposit.
Creates dependant operations for complete deposit.
Creates dependant operations for complete deposit .
def record_complete_operations!
    transaction do
      Operations::Liability.transfer!(
        amount:     amount,
        currency:   currency,
        reference:  self,
        from_kind:  :locked,
        to_kind:    :main,
        member_id:  member_id
      )
    end
  end
def record_complete_operations! transaction do Operations :: Liability . transfer! ( amount : amount , currency : currency , reference : self , from_kind : :locked , to_kind : :main , member_id : member_id ) end end
Creates dependant operations for complete deposit.
Creates dependant operations for complete deposit .