Sha256: 675b737939440f41a95a4bea1dc20231808c9354284e48e420c43f9a123a9b7f
Contents?: true
Size: 352 Bytes
Versions: 33
Compression:
Stored size: 352 Bytes
Contents
require "billing/engine" require "billing/billable" module Billing mattr_reader :mappings @@mappings = ActiveSupport::OrderedHash.new class << self def setup yield self end def add_mapping(resource, options) mapping = Billing::Mapping.new(resource, options) @@mappings[mapping.name] = mapping end end end
Version data entries
33 entries across 33 versions & 1 rubygems