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