Sha256: 04c8c033b14438385751cf16f65340357b1348f4a569155d19865cea1a28aef1
Contents?: true
Size: 247 Bytes
Versions: 1
Compression:
Stored size: 247 Bytes
Contents
require "virtus" module Fortnox::API::Model module Attribute module Currency include Virtus.module attribute :currency, String def currency=( currency ) super currency.upcase[0...3] end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fortnox-api-0.1.0 | lib/fortnox/api/models/attributes/currency.rb |