Ruby client for Czech Registers of Economic Subjects - ARES
Add this line to your application's Gemfile:
gem 'ares.rb'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ares.rb
record = Ares.standard(ico: '27169278')
record.business_name # => "Účetnictví on-line, s.r.o."
record.address.to_s # => "Pekařská 14/628, 15500 Praha-Jinonice, okres: Hlavní město Praha"
record.address.street # => "Pekařská"
record.address.sequence_number # => "14"
record.address.building_number # => "628"
record.address.postcode # => "15500"
record.address.town # => "Praha"
record.address.residential_area # => "Jinonice"
record.address.district # => "Hlavní město Praha"
- Fork it ( https://github.com/ucetnictvi-on-line/ares.rb/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request