Class: Kokkai::Meeting
Constant Summary
Constants inherited from Record
Instance Attribute Summary
Attributes inherited from Record
Instance Method Summary collapse
-
#initialize(raw) ⇒ Meeting
constructor
A new instance of Meeting.
- #speeches ⇒ Object
Methods inherited from Record
Constructor Details
#initialize(raw) ⇒ Meeting
Returns a new instance of Meeting.
7 8 9 10 |
# File 'lib/kokkai/meeting.rb', line 7 def initialize(raw) super @raw_record = @raw_record.dig("meetingRecord") end |
Instance Method Details
#speeches ⇒ Object
12 13 14 15 16 17 |
# File 'lib/kokkai/meeting.rb', line 12 def speeches @raw_record.dig("speechRecord").map do |record| recordData = { "recordData" => { "speechRecord" => record } } Kokkai::Speech.new(recordData) end end |