lib/journey/resource/api.rb in embark-journey-0.0.18 vs lib/journey/resource/api.rb in embark-journey-0.0.19

- old
+ new

@@ -4,10 +4,8 @@ extend ActiveSupport::Concern included do self.format = :json self.include_root_in_json = true - # self.site = ENV['JOURNEY_API_ENDPOINT'] - # self.user = ENV['JOURNEY_API_USERNAME'] - # self.password = ENV['JOURNEY_API_KEY'] + self.headers['accept-encoding'] = 'gzip' end end