opentok/Opentok-Ruby-SDK — pull request #14 by dhiemstra (2014-02-12 15:56:56+00:00)
Title: Autoload constant modules

When using the examples in the README you will receive a `uninitialized constant` error.
To reproduce:

```
$ rails c
>> require 'opentok'
>> OpenTok::SessionPropertyConstants::P2P_PREFERENCE
NameError: uninitialized constant OpenTok::SessionPropertyConstants
>> OpenTok::RoleConstants::MODERATOR
NameError: uninitialized constant OpenTok::SessionPropertyConstants
```

Fixed this by autoloading the 2 modules that define these constants.