Sha256: 47c17b9488845d2fd03428fe9a41311b38b12660e8c8dc90a287f17f69ba79f5

Contents?: true

Size: 528 Bytes

Versions: 5

Compression:

Stored size: 528 Bytes

Contents

module Hominid
  module Security

    # Get a list of all API keys
    def apikeys(username, password, expired = false)
      @chimpApi.call("apikeys", username, password, @api_key, expired)
    end
    
    # Add an API key to your account
    def apikey_add(username, password)
      @chimpApi.call("apikeyAdd", username, password, @api_key)
    end
    
    # Expire a specific API key
    def apikey_expire(username, password, api_key)
      @chimpApi.call("apikeyExpire", username, password, api_key)
    end
    
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
hominid-wout-3.0.6 lib/hominid/security.rb
hominid-3.0.5 lib/hominid/security.rb
hominid-3.0.4 lib/hominid/security.rb
hominid-3.0.2 lib/hominid/security.rb
hominid-3.0.1 lib/hominid/security.rb