Update class-option-code.php

$this->getOptionNamespace() cannot be called before calling the constructor method
Merge pull request #52 from ardalann/patch-1

Update class-option-code.php