Sha256: d57ecb973370d2bde1e1cc0a8a04628cbea7b838a977c7696f143c3d82b6e6b1

Contents?: true

Size: 247 Bytes

Versions: 24

Compression:

Stored size: 247 Bytes

Contents

class Address < ActiveRecord::Base
  belongs_to :vcard
  
  # Helpers
  def to_s
    I18n.translate('has_vcards.address.to_s',
      :street_address => street_address,
      :postal_code => postal_code,
      :locality => locality
    )
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
has_vcards-0.14.1 app/models/address.rb
has_vcards-0.14.0 app/models/address.rb
has_vcards-0.13.2 app/models/address.rb
has_vcards-0.13.1 app/models/address.rb
has_vcards-0.13.0 app/models/address.rb
has_vcards-0.12.9 app/models/address.rb
has_vcards-0.12.8 app/models/address.rb
has_vcards-0.12.7 app/models/address.rb
has_vcards-0.12.6 app/models/address.rb
has_vcards-0.12.5 app/models/address.rb
has_vcards-0.12.4 app/models/address.rb
has_vcards-0.11.1 app/models/address.rb
has_vcards-0.12.3 app/models/address.rb
has_vcards-0.12.2 app/models/address.rb
has_vcards-0.12.1 app/models/address.rb
has_vcards-0.12.0 app/models/address.rb
has_vcards-0.11.0 app/models/address.rb
has_vcards-0.10.0 app/models/address.rb
has_vcards-0.9.0 app/models/address.rb
has_vcards-0.8.1 app/models/address.rb