Sha256: 7301988985015c30e7003ee18b7d021b9c84eff5b37541e83d27ccc81b0271fe

Contents?: true

Size: 334 Bytes

Versions: 12

Compression:

Stored size: 334 Bytes

Contents

# frozen_string_literal: true

module Osso
  module Models
    class RedirectUri < ActiveRecord::Base
      belongs_to :oauth_client

      # TODO
      # before_validation :set_primary, on: :creaet, :update

      private

      def set_primary
        if primary_was.true? && primary.false?

        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
osso-0.0.3.8 lib/osso/models/redirect_uri.rb
osso-0.0.3.7 lib/osso/models/redirect_uri.rb
osso-0.0.3.6 lib/osso/models/redirect_uri.rb
osso-0.0.3.5 lib/osso/models/redirect_uri.rb
osso-0.0.3.4 lib/osso/models/redirect_uri.rb
osso-0.0.3.3 lib/osso/models/redirect_uri.rb
osso-0.0.3.2 lib/osso/models/redirect_uri.rb
osso-0.0.3.1 lib/osso/models/redirect_uri.rb
osso-0.0.3 lib/osso/models/redirect_uri.rb
osso-0.0.2.10 lib/osso/models/redirect_uri.rb
osso-0.0.2.9 lib/osso/models/redirect_uri.rb
osso-0.0.2.8 lib/osso/models/redirect_uri.rb