Sha256: 6f7435b5550dabf8781633f4f5e110e70784b79c0f7ba3a739c261ee829b4c47

Contents?: true

Size: 239 Bytes

Versions: 6

Compression:

Stored size: 239 Bytes

Contents

module Postfixman
  class Domain
    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/domain.rb
postfixman-0.1.2 lib/postfixman/domain.rb
postfixman-0.1.1 lib/postfixman/domain.rb
postfixman-0.1.0 lib/postfixman/domain.rb
postfixman-0.0.2 lib/postfixman/domain.rb
postfixman-0.0.1 lib/postfixman/domain.rb