Skip to content

Commit bb32ed7

Browse files
feat(api): manual updates (#569)
1 parent e0c2d86 commit bb32ed7

File tree

223 files changed

+31869
-15062
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

223 files changed

+31869
-15062
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ client = Orb(
2929
api_key=os.environ.get("ORB_API_KEY"), # This is the default and can be omitted
3030
)
3131

32-
customer_model = client.customers.create(
32+
customer = client.customers.create(
3333
3434
name="My Customer",
3535
)
36-
print(customer_model.id)
36+
print(customer.id)
3737
```
3838

3939
While you can provide an `api_key` keyword argument,
@@ -56,11 +56,11 @@ client = AsyncOrb(
5656

5757

5858
async def main() -> None:
59-
customer_model = await client.customers.create(
59+
customer = await client.customers.create(
6060
6161
name="My Customer",
6262
)
63-
print(customer_model.id)
63+
print(customer.id)
6464

6565

6666
asyncio.run(main())
@@ -151,7 +151,7 @@ from orb import Orb
151151

152152
client = Orb()
153153

154-
customer_model = client.customers.create(
154+
customer = client.customers.create(
155155
156156
name="My Customer",
157157
billing_address={
@@ -160,7 +160,7 @@ customer_model = client.customers.create(
160160
"line1": "123 Example Street",
161161
},
162162
)
163-
print(customer_model.id)
163+
print(customer.id)
164164
```
165165

166166
## Webhook Verification

api.md

+155-176
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)