lib/wwo/configuration.rb in wwo-0.1.1 vs lib/wwo/configuration.rb in wwo-0.1.2

- old
+ new

@@ -29,11 +29,11 @@ yield self end # API endpoint def api_endpoint - @api_endpoint ||= ( use_premium_api? ? DEFAULT_PREMIUM_ENDPOINT : DEFAULT_FREE_ENDPOINT ) + ( use_premium_api? ? DEFAULT_PREMIUM_ENDPOINT : DEFAULT_FREE_ENDPOINT ) end # API key def api_key @api_key @@ -49,9 +49,9 @@ end private def use_premium_api? - Wwo.use_premium_api == true + use_premium_api == true end end end