Sha256: e21c2a176581fbd7dba7e47f93e414b19ec86ab3c9ce6ea869ca50edfe005ccf

Contents?: true

Size: 477 Bytes

Versions: 5

Compression:

Stored size: 477 Bytes

Contents

module ChargeBee
  class Address < Model

  attr_accessor :label, :first_name, :last_name, :email, :company, :phone, :addr, :extended_addr,
  :extended_addr2, :city, :state, :country, :zip, :subscription_id

  # OPERATIONS
  #-----------
    
  def self.retrieve(params, env=nil)
    Request.send('get', "/addresses", params, env)
  end    

  def self.update(params, env=nil)
    Request.send('post', "/addresses", params, env)
  end    

  end # ~Address
end # ~ChargeBee    

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
chargebee-1.3.9 lib/chargebee/models/address.rb
chargebee-1.3.8 lib/chargebee/models/address.rb
chargebee-1.3.7 lib/chargebee/models/address.rb
chargebee-1.3.6 lib/chargebee/models/address.rb
chargebee-1.3.5 lib/chargebee/models/address.rb