Skip to content

Commit

Permalink
Fix broken Markdown headings
Browse files Browse the repository at this point in the history
  • Loading branch information
bryant1410 committed Apr 17, 2017
1 parent b02a8f7 commit 6104bff
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ context_request.delete() # will remove all context in session

```

#Timeouts
# Timeouts
**ApiAiRuby::Client** uses the [http gem](https://github.com/httprb/http) under the hood. You can use ```timeout_options``` on the client to set these.
```ruby
ApiAiRuby::Client.new(
Expand All @@ -169,27 +169,27 @@ ApiAiRuby::Client.new(
Please see the [httprb wiki on timeouts](https://github.com/httprb/http/wiki/Timeouts) for more information.


#Error handling
# Error handling
**ApiAiRuby::Client** currently able to raise two kind of errors: **ApiAiRuby::ClientError** (due to configuration mismatch) and **ApiAiRuby::RequestError** in case of something goes wrong during request. For both kind of errors you can get **error.message** (as usual) and **ApiAiRuby::RequestError** can additionally give you code of server error (you can get it with **error.code**)


#Changelog
# Changelog

##2.0.0
###Breaking:
## 2.0.0
### Breaking:
- http gem dependency updated to 2.0, it does no longer raise `Errno::ETIMEDOUT`. Thanks to @tak1n

##1.3.0
## 1.3.0

###Non-breaking:
### Non-breaking:
- contexts endpoint support (https://docs.api.ai/docs/contexts)
- better RDoc

###Breaking:
### Breaking:
- ApiAiRuby::Client::user_entities_request renamed to ApiAiRuby::Client::create_user_entities_request
- ApiAiRuby::Entity::addEntry renamed to ApiAiRuby::Entity::add_entry

##Previous
## Previous
* 1.2.3 - events support
* 1.2.2 - added configurable timeouts for requests (thanks [bramski](https://github.com/bramski))
* 1.2.1 - fixed UTF-8 in text-requests
Expand Down

0 comments on commit 6104bff

Please sign in to comment.