class Bibox::Models::Asset

Constants

MAPPING

Public Class Methods

new(hash) click to toggle source
Calls superclass method
# File lib/bibox/models/asset.rb, line 21
def initialize(hash)
  super(hash)
  
  self.symbol   =   hash.fetch("coin_symbol", nil) if self.symbol.to_s.empty? && hash.has_key?("coin_symbol")
end