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.8.0 app/models/address.rb
has_vcards-0.7.2 app/models/address.rb
has_vcards-0.7.1 app/models/address.rb
has_vcards-0.7.0 app/models/address.rb