Sha256: ff8f57d4dcedc0b6ed4a50470f278b84d976859b69b7b51c98a1b5dc3849c849

Contents?: true

Size: 1.53 KB

Versions: 2

Compression:

Stored size: 1.53 KB

Contents

# This file is autogenerated. Do not edit it by hand. Regenerate it with:
#   srb rbi sorbet-typed
#
# If you would like to make changes to this file, great! Please upstream any changes you make here:
#
#   https://github.com/sorbet/sorbet-typed/edit/master/lib/activerecord/>=5/activerecord.rbi
#
# typed: strict

class ActiveRecord::Base

  sig do
  params(
    arg: T.any(Symbol, T.proc.returns(T.untyped)),
    if: T.nilable(T.any(Symbol, Proc, T.proc.params(arg0: T.untyped).returns(T.nilable(T::Boolean)))),
    unless: T.nilable(T.any(Symbol, Proc, T.proc.params(arg0: T.untyped).returns(T.nilable(T::Boolean))))
  ).void
  end
  def self.after_create_commit(
    arg,
    if: nil,
    unless: nil
  ); end

  sig do
  params(
    arg: T.any(Symbol, T.proc.returns(T.untyped)),
    if: T.nilable(T.any(Symbol, Proc, T.proc.params(arg0: T.untyped).returns(T.nilable(T::Boolean)))),
    unless: T.nilable(T.any(Symbol, Proc, T.proc.params(arg0: T.untyped).returns(T.nilable(T::Boolean))))
  ).void
  end
  def self.after_update_commit(
    arg,
    if: nil,
    unless: nil
  ); end

  sig do
  params(
    arg: T.any(Symbol, T.proc.returns(T.untyped)),
    if: T.nilable(T.any(Symbol, Proc, T.proc.params(arg0: T.untyped).returns(T.nilable(T::Boolean)))),
    unless: T.nilable(T.any(Symbol, Proc, T.proc.params(arg0: T.untyped).returns(T.nilable(T::Boolean))))
  ).void
  end
  def self.after_destroy_commit(
    arg,
    if: nil,
    unless: nil
  ); end

  sig { params(attribute: T.any(Symbol, String)).void }
  def self.has_secure_token(attribute); end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lazy_migrate-0.3.0 sorbet/rbi/sorbet-typed/lib/activerecord/>=5/activerecord.rbi
lazy_migrate-0.2.0 sorbet/rbi/sorbet-typed/lib/activerecord/>=5/activerecord.rbi