Skip to content

Commit

Permalink
Updated the file names (#1771)
Browse files Browse the repository at this point in the history
  • Loading branch information
prathmesh-stripe authored Oct 4, 2024
1 parent 47c55a5 commit a5ee770
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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' => [
Expand Down
6 changes: 3 additions & 3 deletions examples/new_example.php → examples/NewExample.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

// require 'vendor/autoload.php'; // Make sure to include Composer's autoload file
require '../init.php';
require 'vendor/autoload.php'; // Make sure to include Composer's autoload file
//require '../init.php';

class new_example
class NewExample
{
private $apiKey;

Expand Down

0 comments on commit a5ee770

Please sign in to comment.