Sha256: cd5158277ade456f878076776751c2cd88cca5856bd11a7c66942ba7c9d2b0c6

Contents?: true

Size: 451 Bytes

Versions: 66

Compression:

Stored size: 451 Bytes

Contents

module Recurly
  class Address < Resource
    define_attribute_methods %w(
      first_name
      last_name
      name_on_account
      company
      address1
      address2
      city
      state
      zip
      country
      phone
      geo_code
    )

    # This ensures every attribute is rendered
    # when updating. The Address object does not
    # accept partial updates on the server
    def xml_keys
      attributes.keys
    end
  end
end

Version data entries

66 entries across 66 versions & 1 rubygems

Version Path
recurly-2.20.3 lib/recurly/address.rb
recurly-2.20.2 lib/recurly/address.rb
recurly-2.20.1 lib/recurly/address.rb
recurly-2.20.0 lib/recurly/address.rb
recurly-2.19.13 lib/recurly/address.rb
recurly-2.19.12 lib/recurly/address.rb
recurly-2.19.11 lib/recurly/address.rb
recurly-2.19.10 lib/recurly/address.rb
recurly-2.19.9 lib/recurly/address.rb
recurly-2.19.8 lib/recurly/address.rb
recurly-2.19.7 lib/recurly/address.rb
recurly-2.19.6 lib/recurly/address.rb
recurly-2.19.5 lib/recurly/address.rb
recurly-2.19.4 lib/recurly/address.rb
recurly-2.19.3 lib/recurly/address.rb
recurly-2.19.2 lib/recurly/address.rb
recurly-2.19.1 lib/recurly/address.rb
recurly-2.19.0 lib/recurly/address.rb
recurly-2.18.34 lib/recurly/address.rb
recurly-2.18.33 lib/recurly/address.rb