Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions workers/job_reporter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion workers/shoryuken_dev.yml
Original file line number Diff line number Diff line change
@@ -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
Loading