Sha256: d9268541801973a5d19a86690de3aff9d84aace14d9da346744145e87b1c2ec0

Contents?: true

Size: 419 Bytes

Versions: 4

Compression:

Stored size: 419 Bytes

Contents

module DeviseOneSignal
    class Configuration

        cattr_accessor :app_id, instance_accessor: false

        def self.auto_register
            @@auto_register || false
        end
        cattr_writer :auto_register, instance_accessor: false

        def self.devise_class
            @@devise_class || 'User'
        end
        cattr_writer :devise_class, instance_accessor: false

    end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
devise-onesignal-1.1.1 lib/devise-onesignal/configuration.rb
devise-onesignal-1.1.0 lib/devise-onesignal/configuration.rb
devise-onesignal-1.0.1 lib/devise-onesignal/configuration.rb
devise-onesignal-1.0.0 lib/devise-onesignal/configuration.rb