Skip to content

Commit

Permalink
activestorage: Add ActiveStorage::Current
Browse files Browse the repository at this point in the history
  • Loading branch information
tk0miya committed Oct 28, 2024
1 parent 0050bbf commit 3121220
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
8 changes: 8 additions & 0 deletions gems/activestorage/6.0/app/models/active_storage/current.rbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module ActiveStorage
class Current < ActiveSupport::CurrentAttributes
def self.host: () -> String
def self.host=: (String) -> String
def host: () -> String
def host=: (String) -> String
end
end
8 changes: 8 additions & 0 deletions gems/activestorage/7.0/app/models/active_storage/current.rbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module ActiveStorage
class Current < ActiveSupport::CurrentAttributes
def self.url_options: () -> Hasy[Symbol, untyped]
def self.url_options=: (Hasy[Symbol, untyped]) -> Hasy[Symbol, untyped]
def url_options: () -> Hasy[Symbol, untyped]
def url_options=: (Hasy[Symbol, untyped]) -> Hasy[Symbol, untyped]
end
end

0 comments on commit 3121220

Please sign in to comment.