Sha256: c823f1f27d05ddf82190a66b22070b4f81054f6badfa4561a7a5fcd205b6d73e
Contents?: true
Size: 549 Bytes
Versions: 21
Compression:
Stored size: 549 Bytes
Contents
require 'gecko/record/base' module Gecko module Record class Currency < Base attribute :iso, String attribute :name, String attribute :rate, BigDecimal attribute :symbol, String attribute :separator, String attribute :delimiter, String attribute :precision, Integer attribute :format, String end class CurrencyAdapter < BaseAdapter # Override plural_path to properly pluralize currency def plural_path 'currencies' end end end end
Version data entries
21 entries across 21 versions & 1 rubygems