Sha256: 2035499a19f7c15ba7ffa66a9c3a621053beed8cb5183679c9238e06c955e21c
Contents?: true
Size: 710 Bytes
Versions: 1
Compression:
Stored size: 710 Bytes
Contents
module BrighterPlanet class Deploy class EmissionEstimateService include ::Singleton include ReadsFromPublicUrl WANTS = [ :resque_redis_url, :incoming_queue, :color, :role, :environment, :log_dir, :phase, :carrier, # amazon :ey_app, # cm1_edge_blue ] def endpoint 'http://carbon.brighterplanet.com' end def name 'EmissionEstimateService' end def method_missing(method_id, *args) if args.length == 0 and not block_given? from_public_url method_id else super end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
brighter_planet_deploy-0.0.1 | lib/brighter_planet_deploy/emission_estimate_service.rb |