Sha256: 80c4f564a68d42219a18703c232fe33b5ee7ace9a1417dc98639bcd14302225a

Contents?: true

Size: 267 Bytes

Versions: 3

Compression:

Stored size: 267 Bytes

Contents

require 'savon'

module Stingray
  module Exec
    def self.configure
      Savon.configure do |config|
        unless ENV['DEBUG']
          config.log = false
          HTTPI.log = false
        end

        yield config if block_given?
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stingray-exec-0.2.0 lib/stingray/exec.rb
stingray-exec-0.1.1 lib/stingray/exec.rb
stingray-exec-0.1.0 lib/stingray/exec.rb