Method: FractalApi::Balance.build
- Defined in:
- lib/fractal_api/balance.rb
.build(json:) ⇒ Object
25 26 27 28 29 |
# File 'lib/fractal_api/balance.rb', line 25 def self.build(json:) super.tap do |record| record.date = Time.parse(record.date) if record.date end end |