class method
self.new
Ruby on Rails 8.1.4
Since v7.1.6Signature
self.new(sgid)
No documentation comment.
Parameters
-
sgidreq
Source
# File actiontext/lib/action_text/attachables/missing_attachable.rb, line 12
def initialize(sgid)
@sgid = SignedGlobalID.parse(sgid, for: ActionText::Attachable::LOCATOR_NAME)
end
Defined in actiontext/lib/action_text/attachables/missing_attachable.rb line 12
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionText::Attachables::MissingAttachable