Sha256: b1ff6a90ec03a3c3ba645f47dcbd7c3bac6fd25394f22cc2b90af3f8ee304457
Contents?: true
Size: 523 Bytes
Versions: 16
Compression:
Stored size: 523 Bytes
Contents
module ChargeBee class Customer < Model attr_accessor :id, :first_name, :last_name, :email, :company, :created_at, :card_status # OPERATIONS #----------- def self.list(params={}, env=nil) Request.send('get', "/customers", params, env) end def self.retrieve(id, env=nil) Request.send('get', "/customers/#{id.to_s}", {}, env) end def self.update(id, params={}, env=nil) Request.send('post', "/customers/#{id.to_s}", params, env) end end # ~Customer end # ~ChargeBee
Version data entries
16 entries across 16 versions & 1 rubygems