README.markdown in ruby-box-1.1.0 vs README.markdown in ruby-box-1.1.1
- old
+ new
@@ -136,9 +136,25 @@
items.each do |item|
p "type=#{item.type} name=#{item.name}"
end
```
+Events
+======
+
+You can use RubyBox's event_response method to return an EventResponse that can be used to process any incoming events.
+
+```ruby
+eresp = client.event_response
+eresp.chunk_size
+eresp.next_stream_position
+eresp.events.each do |ev|
+ p "type=#{ev.event_id} type=#{ev.event_type} user=#{ev.created_by.name}"
+end
+```
+
+
+
Contributors
------------
* Benjamin Coe
* Larry Kang
\ No newline at end of file