class Yoti::Image

Public Class Methods

new(content, mime_type) click to toggle source
Calls superclass method
# File lib/yoti/data_type/image.rb, line 5
def initialize(content, mime_type)
  raise(TypeError, "#{self.class} is an abstract class, so cannot be instantiated") if instance_of?(Image)

  super(content, mime_type)
end