Sha256: 8bbf470cb88fd32345d800ea6f244e9f050d0d7431056112b9f7ca1853065337

Contents?: true

Size: 460 Bytes

Versions: 2

Compression:

Stored size: 460 Bytes

Contents

module DeviseOnesignal
    class Configuration

        attr_accessor :app_id
        attr_accessor :devise_class
        attr_accessor :auto_register
        attr_accessor :persist_notification
        attr_accessor :subscribe_with_modal

        def initialize
            @devise_class = 'User'
            @auto_register = false
            @persist_notification = false
            @subscribe_with_modal = false
        end

    end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
devise-onesignal-2.0.1 lib/devise-onesignal/configuration.rb
devise-onesignal-2.0.0 lib/devise-onesignal/configuration.rb