Class: Bibox::Models::Transfer

Inherits:
Base
  • Object
show all
Defined in:
lib/bibox/models/transfer.rb

Constant Summary collapse

MAPPING =
{
  user_id:        :string,
  coin_id:        :string,
  to:             :string,
  coin_symbol:    :string,
  confirm_count:  :string,
  amount:         :float,
  updated_at:     :time,
  created_at:     :time,
  url:            :string,
  icon_url:       :string,
  status:         {enum: {1 => :pending, 2 => :success, 3 => :failed}},
}
STATUSES =
{
  all:      0,
  pending:  1,
  success:  2,
  failed:   3
}

Method Summary

Methods inherited from Base

#attributes, #initialize, parse

Constructor Details

This class inherits a constructor from Bibox::Models::Base