Sha256: 75e39f8e6bb1cf56a09b675b2fbad1ec66a223a6506c7d8b02808cec08fd5633

Contents?: true

Size: 238 Bytes

Versions: 6

Compression:

Stored size: 238 Bytes

Contents

module Postfixman
  class Alias
    attr_accessor :id, :name, :from, :recipients, :enabled

    def initialize(attributes={})
      attributes.each do |k,v|
        self.send("#{k}=", v) if self.respond_to?(k)
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
postfixman-0.2.0 lib/postfixman/alias.rb
postfixman-0.1.2 lib/postfixman/alias.rb
postfixman-0.1.1 lib/postfixman/alias.rb
postfixman-0.1.0 lib/postfixman/alias.rb
postfixman-0.0.2 lib/postfixman/alias.rb
postfixman-0.0.1 lib/postfixman/alias.rb