Sha256: a9de5696a045c6e2434fdcb4bcb47fd90742a942280bef596e7a398125a09bd1

Contents?: true

Size: 461 Bytes

Versions: 11

Compression:

Stored size: 461 Bytes

Contents

module ChargeBee
  class Address < Model

  attr_accessor :label, :first_name, :last_name, :company, :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

11 entries across 11 versions & 1 rubygems

Version Path
chargebee-1.3.4 lib/chargebee/models/address.rb
chargebee-1.3.3 lib/chargebee/models/address.rb
chargebee-1.3.2 lib/chargebee/models/address.rb
chargebee-1.3.1 lib/chargebee/models/address.rb
chargebee-1.3.0 lib/chargebee/models/address.rb
chargebee-1.2.9 lib/chargebee/models/address.rb
chargebee-1.2.8 lib/chargebee/models/address.rb
chargebee-1.2.7 lib/chargebee/models/address.rb
chargebee-1.2.6 lib/chargebee/models/address.rb
chargebee-1.2.5 lib/chargebee/models/address.rb
chargebee-1.2.4 lib/chargebee/models/address.rb