Sha256: 26957fe3964ddcbb7a3ed9ead92e0590fa9b185f899656291d691fb82ca49b89

Contents?: true

Size: 686 Bytes

Versions: 5

Compression:

Stored size: 686 Bytes

Contents

require 'uri'
require 'yajl'
require 'rest_client'

require 'policymap_wrap/connection'
require 'policymap_wrap/endpoint'
require 'policymap_wrap/hash_utils'
require 'policymap_wrap/client'

module PolicyMap
  REALM = "http://www.policymap.com"
  VERSION = File.read(File.join(File.dirname(__FILE__), '..', 'VERSION'))

  class PolicyMapError < StandardError; end
  class InsufficientArgsForSearch < PolicyMapError; end
  class Unauthorized < PolicyMapError; end
  class NotFound < PolicyMapError; end
  class ServerError < PolicyMapError; end
  class Unavailable < PolicyMapError; end
  class DecodeError < PolicyMapError; end
  class NoConnectionEstablished < PolicyMapError; end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
policymap_wrap-1.2.0 lib/policymap_wrap.rb
policymap_wrap-1.1.0 lib/policymap_wrap.rb
policymap_wrap-1.0.0 lib/policymap_wrap.rb
policymap_wrap-0.7.2 lib/policymap_wrap.rb
policymap_wrap-0.7.1 lib/policymap_wrap.rb