lib/writefully/tools/stationery.rb in writefully-0.5.1 vs lib/writefully/tools/stationery.rb in writefully-0.6.2
- old
+ new
@@ -5,9 +5,10 @@
attr_reader :content, :asset, :index, :site_id
class ContentModelNotFound < StandardError; end
class SomeAssetsNotUploaded < StandardError; end
+ class SomeAssetsNotRemoved < StandardError; end
def initialize(index)
@site_id = Site.where(slug: index[:site]).first.id
@index = index
@content = Content.new(index)
\ No newline at end of file