Sha256: 224037d2fb5954e799c9cb3d05bb7e950df821bb7c917c76fbba6c8e0d976ed8

Contents?: true

Size: 422 Bytes

Versions: 2

Compression:

Stored size: 422 Bytes

Contents

module StripeLocal
  class Coupon < ActiveRecord::Base
    include ObjectAdapter

    self.primary_key = :id

    time_writer :redeem_by


  #=!=#>>>
  # string   :id
  # integer  :percent_off
  # integer  :amount_off
  # string   :currency
  # string   :duration
  # datetime :redeem_by
  # integer  :max_redemptions
  # integer  :times_redeemed
  # integer  :duration_in_months
  # boolean  :synced
  #=ยก=#>>>
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stripe_local-0.1.3 app/models/stripe_local/coupon.rb
stripe_local-0.1.2 app/models/stripe_local/coupon.rb