README.markdown in visma_eaccounting-0.0.7 vs README.markdown in visma_eaccounting-0.1.0

- old
+ new

@@ -44,15 +44,14 @@ visma_eaccounting.customers.retrieve(headers: {"SomeHeader": "SomeHeaderValue"}, params: {"query_param": "query_param_value"}) ``` Of course, `body` is only supported on `create` and `update` calls. Those map to HTTP `POST` and `PUT` verbs respectively. -You can set `token`, `api_environment`, `api_endpoint`, `timeout`, `open_timeout`, `faraday_adapter`, `proxy`, `symbolize_keys`, `logger`, and `debug` globally: +You can set `token`, `api_endpoint`, `timeout`, `open_timeout`, `faraday_adapter`, `proxy`, `symbolize_keys`, `logger`, and `debug` globally: ```ruby VismaEaccounting::Request.token = "your_token" -VismaEaccounting::Request.api_environment = :sandbox VismaEaccounting::Request.timeout = 15 VismaEaccounting::Request.open_timeout = 15 VismaEaccounting::Request.symbolize_keys = true VismaEaccounting::Request.debug = false ``` @@ -72,13 +71,9 @@ ```ruby visma_eaccounting = VismaEaccounting::Request.new(token: "your_token", symbolize_keys: true) ``` Visma's [API documentation](https://developer.vismaonline.com/#APIReference) is a list of available endpoints. - -## Environments - -The default environment is ```:production```. To use the sandbox environment you can set ```:sandbox``` in constructor or globally using the ```api_environment``` option. This will set the default ```api_endpoint``` URL. ## Debug Logging Pass `debug: true` to enable debug logging to STDOUT. \ No newline at end of file