README.md in formhub_ruby-0.0.6.1 vs README.md in formhub_ruby-0.0.7.1

- old
+ new

@@ -26,11 +26,11 @@ ### Set a connection with the Formhub API Create a connection like so: - connection = FormhubRuby::API.new(username: 'fake_username', password: 'fake_password', formnamne: 'my_form_name' ) + connection = FormhubRuby::ApiConnector.new(username: 'fake_username', password: 'fake_password', formnamne: 'my_form_name' ) You can also pass authentification configuration arguments in a block (e.g. in a initializer file, etc...): FormhubRuby.configure do |config| config.username = 'fake_username' @@ -69,9 +69,15 @@ connection.sort = {name: -1} # Descending by name connection.sort = {name: 1} # Ascending by name As far as I could tell though, the integers seem to be stored as strings in the Formhub database, so the sorting of these would be quite irrelevant. + +Also consequently added: a parameter to cast integers types: + + connection.cast_integers = true # false by default + +Be aware that this will also cast float values to integer values. ## Contributing 1. Fork it ( http://github.com/<my-github-username>/formhub_ruby/fork )