slack-ruby / slack-ruby-client

A Ruby and command-line client for the Slack Web, Real Time Messaging and Event APIs.
MIT License
1.2k stars 215 forks source link

Make properties first class objects, support API types. #4

Open dblock opened 9 years ago

dblock commented 9 years ago

Make properties of web and RTM client, such as users, team or channels, first class models with well-known properties. Right now they are just hashes.

dblock commented 9 years ago

Started working on this in https://github.com/dblock/slack-ruby-client/tree/web-api-types, it currently generates types. The next step is to tie that together into the web API, so channels.info for example returns a Channel object with data.