From c64ed52668e0ad6b74b3ba74d9a47c43cb3577d1 Mon Sep 17 00:00:00 2001 From: James Hush Date: Tue, 27 Aug 2024 18:15:38 +0800 Subject: [PATCH] Update example.rb --- example.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.rb b/example.rb index 70148df..b3a375b 100644 --- a/example.rb +++ b/example.rb @@ -13,7 +13,7 @@ room_api_instance = Daily::RoomsApi.new opts = { - room_request: Daily::CreateRoomRequest.new( + create_room_request: Daily::CreateRoomRequest.new( privacy: 'private', properties: { exp: (Time.now + (3600 * 2)).to_i, # Delete the room after two hours