emilianodellacasa/ruby-asterisk — pull request #8 by mrgcohen (2013-11-06 19:52:01+00:00)
Title: Command Updates - Supports sip show peers

This will add additional parsing of the commands. I've added request (object) as an argument for now into the Response object. It defaults to nil to not break anything, but maybe switching it to just parameters if you don't want to pass it in.

-added request to constructor
-need parameters to determine the command
-added command _parse_command_data to _parse_data
-added _parse_command_data checks the command and uses a specific parser
-in get er done mode so sorry if it's not as pretty as you'd like
-thanks for all your hard work