Sha256: 66d557e6b71da24d3c825dfe8da54559dac84fc6c94b3ae6ad424456c7c56333
Contents?: true
Size: 266 Bytes
Versions: 1
Compression:
Stored size: 266 Bytes
Contents
require "virtus" module Fortnox::API::Model module Attribute module CountryCode include Virtus.module attribute :country_code, String def country_code=( country_code ) super country_code.upcase[0...2] 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/country_code.rb |