lib/carbon/emission_estimate/storage.rb in carbon-1.0.4 vs lib/carbon/emission_estimate/storage.rb in carbon-1.1.0

- old
+ new

@@ -1,17 +1,17 @@ module Carbon class EmissionEstimate - class Storage + class Storage #:nodoc:all attr_accessor :parent attr_reader :raw_request attr_reader :raw_response def initialize(parent) @parent = parent end def url - "#{::Carbon::STORAGE_URL}/#{::Digest::SHA1.hexdigest(parent.key+parent.guid)}" + "http://storage.carbon.brighterplanet.com/#{::Digest::SHA1.hexdigest(parent.key+parent.guid)}" end def present? parent.guid.present? and data.present? end