sig/app/models/tanshuku/url.rbs in tanshuku-0.0.18 vs sig/app/models/tanshuku/url.rbs in tanshuku-0.0.19
- old
+ new
@@ -102,10 +102,10 @@
def clear_created_at_change: () -> void
end
include GeneratedAttributeMethods
def self.shorten: (String original_url, ?namespace: String, ?url_options: Hash[String | Symbol, untyped]) -> String
- def self.find_by_url: (String url, ?namespace: String) -> ActiveRecord::Base?
+ def self.find_by_url: (String url, ?namespace: String) -> Tanshuku::Url?
def self.normalize_url: (String url) -> String
def self.hash_url: (String url, ?namespace: String) -> String
def self.generate_key: -> String
def self.report_exception: (exception: Exception, original_url: String) -> void
def shortened_url: (?Hash[String | Symbol, untyped] url_options) -> String