Sha256: 070ad2317cfb3c3fa0a43f176fd778c7b02a5b496c6e4b3d032247b03c3aa299
Contents?: true
Size: 523 Bytes
Versions: 6
Compression:
Stored size: 523 Bytes
Contents
require "stripe_local/engine" require "stripe_local/webhook" require "stripe_local/instance_delegation" require "stripe_local/association_methods" module StripeLocal mattr_accessor :model_class def stripe_customer include InstanceDelegation include AssociationMethods has_one :customer, inverse_of: :model, foreign_key: :model_id, class_name: 'StripeLocal::Customer' StripeLocal::model_class = self end end ActiveRecord::Base.extend StripeLocal
Version data entries
6 entries across 6 versions & 1 rubygems