Sha256: ec9f2e6a54a1ac5c6fb92738d951f25946140699c6586cbce6ed1df447f7c815

Contents?: true

Size: 385 Bytes

Versions: 4

Compression:

Stored size: 385 Bytes

Contents

module Approval
  class Config
    attr_accessor(
      :user_class_name,
      :comment_maximum,
      :permit_to_respond_to_own_request,
    )

    def initialize
      @user_class_name = "User"
      @comment_maximum = 2000
      @permit_to_respond_to_own_request = false
    end

    def permit_to_respond_to_own_request?
      !!permit_to_respond_to_own_request
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
approval-0.3.5 lib/approval/config.rb
approval-0.3.4 lib/approval/config.rb
approval-0.3.3 lib/approval/config.rb
approval-0.3.2 lib/approval/config.rb