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 @@