lib/buildbox/configuration.rb in buildbox-0.4.1 vs lib/buildbox/configuration.rb in buildbox-0.4.2
- old
+ new
@@ -11,13 +11,9 @@
else
env_agents.to_s.split(",")
end
end
- def api_key
- ENV['BUILDBOX_API_KEY'] || self[:api_key]
- end
-
def api_endpoint
endpoint = ENV['BUILDBOX_API_ENDPOINT'] || self[:api_endpoint] || "https://agent.buildbox.io/v1"
# hack to update legacy endpoints
if endpoint == "https://api.buildbox.io/v1"