Sha256: 247e08e3bdc0f6a47e53e1b5afb1ab996b87f90d5f65207697e95acab5686b5d
Contents?: true
Size: 379 Bytes
Versions: 14
Compression:
Stored size: 379 Bytes
Contents
module ChargeBee class CouponCode < Model attr_accessor :code, :coupon_id, :coupon_set_name # OPERATIONS #----------- def self.create(params, env=nil) Request.send('post', "/coupon_codes", params, env) end def self.retrieve(id, env=nil) Request.send('get', "/coupon_codes/#{id.to_s}", {}, env) end end # ~CouponCode end # ~ChargeBee
Version data entries
14 entries across 14 versions & 1 rubygems