Sha256: c6a441b09e98b9b1837b6d3d3059f3af568ab90879e34932da63e43b38fdd370

Contents?: true

Size: 554 Bytes

Versions: 126

Compression:

Stored size: 554 Bytes

Contents

module ChargeBee
  class Address < Model

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

  # OPERATIONS
  #-----------

  def self.retrieve(params, env=nil, headers={})
    Request.send('get', uri_path("addresses"), params, env, headers)
  end

  def self.update(params, env=nil, headers={})
    Request.send('post', uri_path("addresses"), params, env, headers)
  end

  end # ~Address
end # ~ChargeBee

Version data entries

126 entries across 126 versions & 1 rubygems

Version Path
chargebee-2.1.7 lib/chargebee/models/address.rb
chargebee-2.1.6 lib/chargebee/models/address.rb
chargebee-2.1.5 lib/chargebee/models/address.rb
chargebee-2.1.4 lib/chargebee/models/address.rb
chargebee-2.1.3 lib/chargebee/models/address.rb
chargebee-2.1.2 lib/chargebee/models/address.rb