CommCare API wrapper in Ruby