Commit 9a47698fcd8936d6ee8d8d4fbbc6353cf6f48e34
Committed by
GitHub
1 parent
0c0af54a
typo
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
README.md
@@ -29,10 +29,10 @@ user_id = Syspro::Logon.logon(username, password, company_id, company_password) | @@ -29,10 +29,10 @@ user_id = Syspro::Logon.logon(username, password, company_id, company_password) | ||
29 | ``` | 29 | ``` |
30 | `user_id` will be a `UserId` object that contains the `guid` supplied by SYSPRO. You will use this guid to make further requests to SYSPRO. | 30 | `user_id` will be a `UserId` object that contains the `guid` supplied by SYSPRO. You will use this guid to make further requests to SYSPRO. |
31 | 31 | ||
32 | -#### GetUserProfile | 32 | +#### GetLogonProfile |
33 | 33 | ||
34 | ```rb | 34 | ```rb |
35 | -user_profile = Syspro::GetUserProfile.get_user_profile(guid) | 35 | +user_profile = Syspro::GetLogonProfile.get_logon_profile(guid) |
36 | ``` | 36 | ``` |
37 | `user_profile` will be a `UserProfile` object that contains the following: | 37 | `user_profile` will be a `UserProfile` object that contains the following: |
38 | - `company_name` | 38 | - `company_name` |