Public Instance methods
urlsafe_dump(file, **options)
[show source]
# File lib/shrine/plugins/_urlsafe_serialization.rb 48 def urlsafe_dump(file, **options) 49 data = file.urlsafe_data(**options) 50 51 shrine_class.urlsafe_serialize(data) 52 end
urlsafe_load(string)
[show source]
# File lib/shrine/plugins/_urlsafe_serialization.rb 54 def urlsafe_load(string) 55 data = shrine_class.urlsafe_deserialize(string) 56 57 new(data) 58 end