class EME::Billing::Wallet
Attributes
currencies[RW]
Public Class Methods
new(wallet_hash)
click to toggle source
# File lib/eme/billing.rb, line 413 def initialize(wallet_hash) @currencies = [] self[:error] = false @currencies << "EMP" self[:EMP] = ObjectHash.new self[:EMP][:amount] = wallet_hash["TOTREMAINAMT"] theDefault = ObjectHash.new theDefault[:amount] = 0 self.default = theDefault end