Sha256: 1f728957068503943bf423792aa55e0f775d283695f17255b42efeedf27521ea
Contents?: true
Size: 580 Bytes
Versions: 7
Compression:
Stored size: 580 Bytes
Contents
# frozen_string_literal: true 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
7 entries across 7 versions & 1 rubygems