Sha256: 80fd942b5826e78f6851a03126654b7d9dc5bca1f79e3174a4b68598464e6710

Contents?: true

Size: 399 Bytes

Versions: 4

Compression:

Stored size: 399 Bytes

Contents

class Api::Public::MeetingsController < ApplicationController
  include ChimeSdk::Controller::Meetings::Mixin

  def index
    render json: { api: 'meetings', status: 'healthy' }
  end

  def application_meeting_metadata(meeting)
    room_id = meeting[:Meeting][:ExternalMeetingId].split('-')[3]
    {
      "MeetingType": "PrivateRoom",
      "PrivateRoom": Room.find_by_id(room_id)
    }
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
amazon-chime-sdk-rails-2.0.1 spec/rails_app/app/controllers/api/public/meetings_controller.rb
amazon-chime-sdk-rails-2.0.0 spec/rails_app/app/controllers/api/public/meetings_controller.rb
amazon-chime-sdk-rails-1.1.1 spec/rails_app/app/controllers/api/public/meetings_controller.rb
amazon-chime-sdk-rails-1.1.0 spec/rails_app/app/controllers/api/public/meetings_controller.rb