Skip to content

Commit b3ac0db

Browse files
committed
can't get the argument in the sample call to snake case
1 parent d427a68 commit b3ac0db

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/v1/assets/index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,8 @@
10091009
"example" : 33
10101010
}
10111011
},
1012-
"description" : ""
1012+
"description" : "",
1013+
"x-snake" : "asset_type"
10131014
};
10141015
defs["Assets"] = {
10151016
"title" : "",
@@ -1607,12 +1608,12 @@ <h3>Usage and SDK Samples</h3>
16071608
deprecitation_rate = 40,
16081609
depreciation_calculation_method = "None")
16091610

1610-
assetType = AssetType(
1611+
asset_type = AssetType(
16111612
asset_type_name = "Computer Equipment",
16121613
fixed_asset_account_id = "00000000-0000-0000-0000-000000000000",
16131614
depreciation_expense_account_id = "00000000-0000-0000-0000-000000000000",
16141615
accumulated_depreciation_account_id = "00000000-0000-0000-0000-000000000000",
1615-
bookDepreciationSetting = book_depreciation_setting)
1616+
book_depreciation_setting = book_depreciation_setting)
16161617

16171618
try:
16181619
api_response = api_instance.create_asset_type(xero_tenant_id, assetType)

0 commit comments

Comments
 (0)