method
new
v6.1.3.1 -
Show latest stable
- Class:
ActionText::Attachables::RemoteImage
new(attributes = {})public
No documentation available.
# File actiontext/lib/action_text/attachables/remote_image.rb, line 30
def initialize(attributes = {})
@url = attributes[:url]
@content_type = attributes[:content_type]
@width = attributes[:width]
@height = attributes[:height]
end