Sha256: 2fb1f42aace0d07e55c32922cb6f86b2c4a1a8b66b8378d4f818770863e4ed03

Contents?: true

Size: 649 Bytes

Versions: 3

Compression:

Stored size: 649 Bytes

Contents

require 'json'
require 'xmlrpc/client'
require 'ostruct'

module Hominid

  class StandardError < ::StandardError
  end

  class APIError < StandardError
    def initialize(error)
      super("<#{error.faultCode}> #{error.message}")
    end
  end
  
  class CampaignError < APIError
  end
  
  class ListError < APIError
  end
  
  class UserError < APIError
  end
  
  class ValidationError < APIError
  end

  class CommunicationError < StandardError
    def initialize(message)
      super(message)
    end
  end
  
end

require 'hominid/campaign'
require 'hominid/helper'
require 'hominid/list'
require 'hominid/security'
require 'hominid/base'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hominid-2.2.0 lib/hominid.rb
hominid-2.1.10 lib/hominid.rb
hominid-2.1.9 lib/hominid.rb