Sha256: cc92d692e080161fc28e8854faaf926c2b77580268c2cbb157310d3147e618e2

Contents?: true

Size: 173 Bytes

Versions: 7

Compression:

Stored size: 173 Bytes

Contents

module Locomotive
  module Steam

    class CsrfProtectionService < Struct.new(:enabled, :field, :token)

      def enabled?
        !!enabled
      end

    end

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
locomotivecms_steam-1.0.0.pre.beta.3 lib/locomotive/steam/services/csrf_protection_service.rb
locomotivecms_steam-1.0.0.pre.beta.2 lib/locomotive/steam/services/csrf_protection_service.rb
locomotivecms_steam-1.0.0.pre.beta.1 lib/locomotive/steam/services/csrf_protection_service.rb
locomotivecms_steam-1.0.0.pre.alpha.3 lib/locomotive/steam/services/csrf_protection_service.rb
locomotivecms_steam-1.0.0.pre.alpha.2 lib/locomotive/steam/services/csrf_protection_service.rb
locomotivecms_steam-1.0.0.pre.alpha.1 lib/locomotive/steam/services/csrf_protection_service.rb
locomotivecms_steam-1.0.0.pre.alpha lib/locomotive/steam/services/csrf_protection_service.rb