Class: Socialmod::Item::HTML

Inherits:
Socialmod::Item show all
Defined in:
lib/socialmod/item.rb

Instance Method Summary collapse

Methods inherited from Socialmod::Item

#deferred?, #destroy, #failed?, find_by_custom_id, #flag!, #passed?, #pending?, sync, #update

Methods inherited from Base

api_key=, callback_url, callback_url=, #initialize

Constructor Details

This class inherits a constructor from Socialmod::Base

Instance Method Details

#after_initializeObject



77
78
79
# File 'lib/socialmod/item.rb', line 77

def after_initialize
  self.mime = "text/html"
end

#src=(*a) ⇒ Object



81
82
83
# File 'lib/socialmod/item.rb', line 81

def src=(*a)
  raise "You can't set src for HTML moderation"
end