Class: LogStruct::Log::ActiveStorage::BaseFields

Inherits:
T::Struct
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/log_struct/log/active_storage.rb

Constant Summary collapse

Kwargs =
T.type_alias do
  {
    storage: Symbol,
    file_id: String
  }
end

Instance Method Summary collapse

Instance Method Details

#to_kwargsObject



33
34
35
36
37
38
# File 'lib/log_struct/log/active_storage.rb', line 33

def to_kwargs
  {
    storage: storage,
    file_id: file_id
  }
end