Sha256: 5b432083e8080f8091aef09447e86a519d2e9ef0b76a3c7d15e311be50639efe

Contents?: true

Size: 264 Bytes

Versions: 58

Compression:

Stored size: 264 Bytes

Contents

module DiscoApp
  class Session < ActiveRecord::SessionStore::Session

    before_save :set_shop_id!

    private

      def set_shop_id!
        return false unless loaded?
        write_attribute(:shop_id, data[:shopify] || data['shopify'])
      end

  end
end

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
disco_app-0.16.1.pre.sidekiq.pre.6.pre.release lib/disco_app/session.rb
disco_app-0.7.1 lib/disco_app/session.rb
disco_app-0.7.2 lib/disco_app/session.rb
disco_app-0.8.0 lib/disco_app/session.rb
disco_app-0.8.1 lib/disco_app/session.rb
disco_app-0.8.2 lib/disco_app/session.rb
disco_app-0.8.3 lib/disco_app/session.rb
disco_app-0.8.4 lib/disco_app/session.rb
disco_app-0.8.5 lib/disco_app/session.rb
disco_app-0.8.6 lib/disco_app/session.rb
disco_app-0.8.7 lib/disco_app/session.rb
disco_app-0.8.8 lib/disco_app/session.rb
disco_app-0.8.9 lib/disco_app/session.rb
disco_app-0.9.0 lib/disco_app/session.rb
disco_app-0.9.1 lib/disco_app/session.rb
disco_app-0.9.2 lib/disco_app/session.rb
disco_app-0.9.3 lib/disco_app/session.rb
disco_app-0.9.4 lib/disco_app/session.rb
disco_app-0.9.5 lib/disco_app/session.rb
disco_app-0.9.6 lib/disco_app/session.rb