A gem for communicating with the FOTO Patient Inquiry API http://share.patient-inquiry.com.
Add this line to your application's Gemfile:
gem 'foto'
And then execute:
$ bundle
Or install it yourself as:
$ gem install foto
Foto.configuredo |config|
config.api_key='41B4333G-FF2E-41B9-2M24-2G31381D237T'config.base_uri='http://devs.patient-inquiry.com'endfoto_patient=Foto::Patient.new({:first_name=>patient.first_name,:last_name=>patient.last_name,:date_of_birth=>patient.birth_date,:email=>patient.email,:gender=>patient.gender,:language=>'en',:external_id=>patient.id})foto_patient.savefoto_patient=Foto::Patient.new({:api_key=>'41B4333G-FF2E-41B9-2M24-2G31381D237T',:first_name=>patient.first_name,:last_name=>patient.last_name,
...
})foto_patient.save- Fork it
- 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 new Pull Request