Sha256: d3e4c4e3363ed0cdd28ca9d71e016bcfd2a98b7c0cead6cc753166e3db1a3969
Contents?: true
Size: 622 Bytes
Versions: 10
Compression:
Stored size: 622 Bytes
Contents
# The implied unit of measure for a nutrition estimate. module Yummly class Unit # Single unit display name for unit of measure. attr_accessor :name # Single unit abbreviation for unit of measure. attr_accessor :abbreviation # Plural display name for unit of measure. attr_accessor :plural # Plural unit abbreviation for unit of measure. attr_accessor :plural_abbreviation def initialize(values) @name = values["name"] @abbreviation = values["abbreviation"] @plural = values["plural"] @plural_abbreviation = values["pluralAbbreviation"] end end end
Version data entries
10 entries across 10 versions & 1 rubygems