Sha256: 028e1625d11538d28ffccb77d9d0116951f2fb9009c6799ed0343bf9712dbf43

Contents?: true

Size: 512 Bytes

Versions: 10

Compression:

Stored size: 512 Bytes

Contents

# Copyright (c) 2008 The Kaphan Foundation
#
# For licensing information see LICENSE.txt.
#
# Please visit http://www.peerworks.org/contact for further information.
#

module Atom
  class Configuration
    def self.auth_hmac_enabled?
      unless defined?(@auth_hmac_enabled)
        begin
          gem 'auth-hmac'
          require 'auth-hmac'
          @auth_hmac_enabled = true
        rescue
          @auth_hmac_enabled = false
        end
      else
        @auth_hmac_enabled
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
restfulie-0.7.2 lib/vendor/atom/configuration.rb
restfulie-0.7.1 lib/vendor/atom/configuration.rb
restfulie-0.7.0 lib/vendor/atom/configuration.rb
ratom-0.6.4 lib/atom/configuration.rb
ratom-0.6.3 lib/atom/configuration.rb
ratom-0.6.2 lib/atom/configuration.rb
ratom-0.6.0 lib/atom/configuration.rb
ratom-0.5.2 lib/atom/configuration.rb
ratom-0.5.1 lib/atom/configuration.rb
ratom-0.6.1 lib/atom/configuration.rb