Skip to content

Commit 5d91e5b

Browse files
Merge pull request #8 from AfricasTalkingLtd/develop
renamed fetch application data function
2 parents 7695a19 + 2b09a7d commit 5d91e5b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Instantiating the class will give you an object with available methods
6161

6262
### Application
6363

64-
- `fetchApplicatonData()`: Get app information. e.g balance
64+
- `fetchApplicationData()`: Get app information. e.g balance
6565

6666
### Airtime
6767

src/Application.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public function doFetchApplication()
1010
return $this->success($response);
1111
}
1212

13-
public function fetchApplication()
13+
public function fetchApplicationData()
1414
{
1515
return $this->doFetchApplication();
1616
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function setup()
1818

1919
public function testFetchAplication()
2020
{
21-
$response = $this->client->fetchApplication();
21+
$response = $this->client->fetchApplicationData();
2222
$this->assertObjectHasAttribute('UserData', $response['data']);
2323
}
2424
}

0 commit comments

Comments
 (0)