method
attributes_from_node
v7.2.3 -
Show latest stable
- Class:
ActionText::Attachables::RemoteImage
attributes_from_node(node)private
No documentation available.
# File actiontext/lib/action_text/attachables/remote_image.rb, line 22
def attributes_from_node(node)
{ url: node["url"],
content_type: node["content-type"],
width: node["width"],
height: node["height"] }
end