Sha256: 0990214194fafad78390cce26722c83dcbe92f8d73e27d98f129085d38c62b90
Contents?: true
Size: 1.27 KB
Versions: 1
Compression:
Stored size: 1.27 KB
Contents
= has_phone_numbers +has_phone_numbers+ demonstrates a reference implementation for handling phone numbers. == Resources Wiki * http://wiki.pluginaweek.org/Has_phone_numbers API * http://api.pluginaweek.org/has_phone_numbers Development * http://dev.pluginaweek.org/browser/trunk/has_phone_numbers Source * http://svn.pluginaweek.org/trunk/has_phone_numbers == Description A phone number is a simple model whose data and functionality should be standardized across multiple applications. Phone numbers are minimialistic in terms of the type of data required and follows the standard U.S. format. Support for international formats may be added in the future. == Usage Note that this is a reference implementation and, most likely, should be modified for your own usage. === Example phone_number = Phone_number.new( :country_code => '1', :number => '1234567890', :extension => '123' ) phone_number.to_s # => 1- 1234567890 ext. 123 == Testing Before you can run any tests, the following gem must be installed: * plugin_test_helper[http://wiki.pluginaweek.org/Plugin_test_helper] To run against a specific version of Rails: rake test RAILS_FRAMEWORK_ROOT=/path/to/rails == Dependencies * Rails 2.1 or later * plugins_plus[http://wiki.pluginaweek.org/Plugins_plus]
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
has_phone_numbers-0.0.4 | README |