From 66a8cee2537203d503d58f789ca1d5c31ec84062 Mon Sep 17 00:00:00 2001 From: Prathmesh Ranaut Date: Fri, 4 Oct 2024 14:31:35 -0400 Subject: [PATCH] Updated the file names --- examples/{meter_event_stream.php => MeterEventStream.php} | 4 ++-- examples/{new_example.php => NewExample.php} | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) rename examples/{meter_event_stream.php => MeterEventStream.php} (95%) rename examples/{new_example.php => NewExample.php} (74%) diff --git a/examples/meter_event_stream.php b/examples/MeterEventStream.php similarity index 95% rename from examples/meter_event_stream.php rename to examples/MeterEventStream.php index 9c520dfa3..cce30a0d6 100644 --- a/examples/meter_event_stream.php +++ b/examples/MeterEventStream.php @@ -2,7 +2,7 @@ require 'vendor/autoload.php'; // Make sure to include Composer's autoload file -class meter_event_stream +class MeterEventStream { private $apiKey; private $meterEventSession; @@ -43,7 +43,7 @@ public function sendMeterEvent($meterEvent) $apiKey = '{{API_KEY}}'; $customerId = '{{CUSTOMER_ID}}'; -$manager = new MeterEventManager($apiKey); +$manager = new MeterEventStream($apiKey); $manager->sendMeterEvent([ 'event_name' => 'alpaca_ai_tokens', 'payload' => [ diff --git a/examples/new_example.php b/examples/NewExample.php similarity index 74% rename from examples/new_example.php rename to examples/NewExample.php index bf5c4d7a2..bde7007dc 100644 --- a/examples/new_example.php +++ b/examples/NewExample.php @@ -1,9 +1,9 @@