Skip to content
This repository has been archived by the owner on Jan 10, 2021. It is now read-only.

neilvcarvalho/burocracias

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Burocracias

Facilidades para lidar com as burocracias de nosso Brasil.

Installation

Add this line to your application's Gemfile:

gem 'burocracias'

And then execute:

$ bundle

Or install it yourself as:

$ gem install burocracias

Usage

Formatação

"12345678909".as_cpf # => "123.456.789-09"
"12345678000195".as_cnpj # => "12.345.678-0001/95"
"20071004".as_cep # => "20.071-004"
"2122223333".as_phone_number # => "(21) 2222-3333"
"11999888777".as_phone_number # => "(11) 999-888-777"

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Burocracias do nosso Brasil

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages