diff --git a/stoptime.rb b/stoptime.rb index ec8ee5d..ff894cc 100644 --- a/stoptime.rb +++ b/stoptime.rb @@ -137,6 +137,11 @@ module StopTime::Models load end + # Give access to the configuration. + def [](attr) + @config[attr] + end + end # class StopTime::Models::Config # == The customer class