Sha256: 4ad688b1a9a5f9672c49fadc892be74435ec4e9acbf9825fdcf79ca07e882a02

Contents?: true

Size: 679 Bytes

Versions: 5

Compression:

Stored size: 679 Bytes

Contents

require 'haml-rails'
require 'carmen'
require 'carmen-rails'
require 'effective_addresses/engine'
require 'effective_addresses/version'

module EffectiveAddresses

  # The following are all valid config keys
  mattr_accessor :country_codes
  mattr_accessor :country_codes_priority
  mattr_accessor :addresses_table_name
  mattr_accessor :use_full_name
  mattr_accessor :simple_form_options
  mattr_accessor :validate_postal_code_format
  mattr_accessor :pre_selected_country
  mattr_accessor :pre_selected_state

  def self.setup
    yield self
  end

  def self.permitted_params
    [:address1, :address2, :city, :country_code, :state_code, :postal_code, :full_name]
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
effective_addresses-1.5.1 lib/effective_addresses.rb
effective_addresses-1.5.0 lib/effective_addresses.rb
effective_addresses-1.4.1 lib/effective_addresses.rb
effective_addresses-1.4.0 lib/effective_addresses.rb
effective_addresses-1.3.9 lib/effective_addresses.rb