diff --git a/app/presentation/representers/vocabulary_request_representer.rb b/app/presentation/representers/vocabulary_request_representer.rb index 25e7e40..34089cb 100644 --- a/app/presentation/representers/vocabulary_request_representer.rb +++ b/app/presentation/representers/vocabulary_request_representer.rb @@ -10,8 +10,8 @@ module Representer class VocabularyRequest < Roar::Decorator include Roar::JSON - # property :song, extend: Representer::Song, class: OpenStruct - property :song, extend: Representer::Song, class: Struct + property :song, extend: Representer::Song, class: OpenStruct # rubocop:disable Style/OpenStructUse + # property :song, extend: Representer::Song, class: Struct property :id end end diff --git a/workers/job_reporter.rb b/workers/job_reporter.rb index 1d1c128..ae0ee3a 100644 --- a/workers/job_reporter.rb +++ b/workers/job_reporter.rb @@ -9,8 +9,7 @@ class JobReporter def initialize(request_json, config) voc_request = LyricLab::Representer::VocabularyRequest - .new(Struct.new) - # .new(OpenStruct.new) + .new(OpenStruct.new) # rubocop:disable Style/OpenStructUse .from_json(request_json) @song = voc_request.song diff --git a/workers/shoryuken_dev.yml b/workers/shoryuken_dev.yml index ed8bffd..919829b 100644 --- a/workers/shoryuken_dev.yml +++ b/workers/shoryuken_dev.yml @@ -1,4 +1,4 @@ queues: - - https://sqs.ap-northeast-1.amazonaws.com/440744214769/lyriclab-tristan-q - https://sqs.ap-northeast-1.amazonaws.com/440744214769/lyriclab-irina-q + - https://sqs.ap-northeast-1.amazonaws.com/440744214769/lyriclab-tristan-q - https://sqs.ap-northeast-1.amazonaws.com/440744214769/lyriclab-carrie-q \ No newline at end of file