diff --git a/README.md b/README.md index 6dbd97c..2c8a0d7 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you haven't signed up yet, please follow the instructions found in [Getting S #### Sample Code ``` -import ConnectSwift +import GlobeConnect Authentication().getAccessToken( appId: "[app_id]", @@ -58,7 +58,7 @@ Send an SMS message to one or more mobile terminals: ##### Sample Code ``` -import ConnectSwift +import GlobeConnect let sms = Sms( accessToken: "[access_token]", @@ -108,7 +108,7 @@ Send binary data through SMS: ##### Sample Code ``` -import ConnectSwift +import GlobeConnect let sms = Sms( accessToken: "[access_token]", @@ -165,7 +165,7 @@ The following example shows how to send a USSD request. ##### Sample Code ``` -import ConnectSwift +import GlobeConnect let ussd = Ussd( accessToken: "[access_token]", @@ -214,7 +214,7 @@ The following example shows how to send a USSD reply. ##### Sample Code ``` -import ConnectSwift +import GlobeConnect let ussd = Ussd( accessToken: "[access_token]", @@ -271,7 +271,7 @@ The following example shows how you can request for a payment from a customer. ##### Sample Code ``` -import ConnectSwift +import GlobeConnect let payment = Payment( appId: "[app_id]", @@ -324,7 +324,7 @@ The following example shows how you can get the last reference of payment. ##### Sample Code ``` -import ConnectSwift +import GlobeConnect let payment = Payment( appId: "[app_id]", @@ -360,7 +360,7 @@ Amax is an automated promo builder you can use with your app to award customers #### Sample Code ``` -import ConnectSwift +import GlobeConnect let amax = Amax( appId: "[app_id]", @@ -401,7 +401,7 @@ To determine a general area (lat,lng) of your customers you can utilize this fea #### Sample Code ``` -import ConnectSwift +import GlobeConnect let locationQuery = LocationQuery(accessToken: "[access_token]") @@ -449,7 +449,7 @@ The following example shows how you can get the subscriber balance. ##### Sample Code ``` -import ConnectSwift +import GlobeConnect let subscriber = Subscriber(accessToken: "[access_token]") @@ -467,9 +467,9 @@ subscriber.getSubscriberBalance( ```json { - terminalLocationList: + "terminalLocationList": { - terminalLocation: + "terminalLocation": [ { address: "639171234567", @@ -487,7 +487,7 @@ The following example shows how you can get the subscriber reload amount. ##### Sample Code ``` -import ConnectSwift +import GlobeConnect let subscriber = Subscriber(accessToken: "[access_token]") @@ -506,9 +506,9 @@ subscriber ```json { - terminalLocationList: + "terminalLocationList": { - terminalLocation: + "terminalLocation": [ { address: "639171234567",