lib/buildbox/configuration.rb in buildbox-0.1.1 vs lib/buildbox/configuration.rb in buildbox-0.1.4
- old
+ new
@@ -2,11 +2,11 @@
require 'hashie/dash'
require 'json'
module Buildbox
class Configuration < Hashie::Dash
- property :worker_access_token, :default => nil
- property :api_endpoint, :default => "http://api.buildbox.io/v1"
+ property :worker_access_tokens, :default => []
+ property :api_endpoint, :default => "https://api.buildbox.io/v1"
def update(attributes)
attributes.each_pair { |key, value| self[key] = value }
save
end