Sha256: afae7ad5aeb08b8ebe8583e9392df4b7739d4e65245fd6d8c9487ab59444a781
Contents?: true
Size: 970 Bytes
Versions: 1
Compression:
Stored size: 970 Bytes
Contents
# Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file accompanying this file. This file is # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. module Aws::SessionStore::DynamoDB class Railtie < Rails::Railtie initializer 'aws-sessionstore-dynamodb-rack-middleware' do ActionDispatch::Session::DynamodbStore = Aws::SessionStore::DynamoDB::RackMiddleware end # Load all rake tasks rake_tasks do Dir[File.expand_path("../tasks/*.rake", __FILE__)].each do |rake_task| load rake_task end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
aws-sessionstore-dynamodb-1.0.0 | lib/aws/session_store/dynamo_db/railtie.rb |