Sha256: caed922a9d56bf971707ddeb769bce9b8bffa7c8f65abc66c68dac0339ea8c5a

Contents?: true

Size: 634 Bytes

Versions: 9

Compression:

Stored size: 634 Bytes

Contents

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

9 entries across 9 versions & 1 rubygems

Version Path
hominid-2.1.7 lib/hominid.rb
hominid-2.1.6 lib/hominid.rb
hominid-2.1.5 lib/hominid.rb
hominid-2.1.2 lib/hominid.rb
hominid-2.1.1 lib/hominid.rb
hominid-2.1.0 lib/hominid.rb
hominid-2.0.4 lib/hominid.rb
hominid-2.0.3 lib/hominid.rb
hominid-2.0.2 lib/hominid.rb