From d9b87655fa8e11a92ff44021c7ff336739f67ab8 Mon Sep 17 00:00:00 2001 From: r888888888 Date: Wed, 29 Oct 2014 14:26:58 -0700 Subject: [PATCH] remove unused file --- app/logical/pixiv_ugoira_processor.rb | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 app/logical/pixiv_ugoira_processor.rb diff --git a/app/logical/pixiv_ugoira_processor.rb b/app/logical/pixiv_ugoira_processor.rb deleted file mode 100644 index 6e264d102..000000000 --- a/app/logical/pixiv_ugoira_processor.rb +++ /dev/null @@ -1,17 +0,0 @@ -class PixivUgiraProcessor - attr_accessor :post, :frame_data, :width, :height - - def load_data(hash) - @frame_data = hash[:pixiv_ugoira_frame_data] - @width = hash[:pixiv_ugoira_width] - @height = hash[:pixiv_ugoira_height] - end - - def process!(post) - save_pixiv_ugoira_frame_data(post) - end - - def save_pixiv_ugoira_frame_data(post) - PixivUgoiraFrameData.create(:data => frame_data.to_json, :post_id => post.id) - end -end \ No newline at end of file