Sha256: 75bcc17defeb355dae4bfb43d95e4278b7932343fc1ec2eb3901237696c8fe13
Contents?: true
Size: 335 Bytes
Versions: 13
Compression:
Stored size: 335 Bytes
Contents
# -*- encoding : utf-8 -*- class TokenUpgrade < Cardio::Migration::Core def up update_card! :token, name: "*api key", codename: "api_key" delete_code_card :expiration %i[user signup].each do |type| %i[salt status api_key].each do |field| Card[[type, :account, field]]&.delete! end end end end
Version data entries
13 entries across 13 versions & 1 rubygems