README.md in gameball-3.1.4 vs README.md in gameball-3.1.5

- old
+ new

@@ -10,11 +10,11 @@ You don't need this source code unless you want to modify the SDK. If you just want to use the SDK, just run: ```sh -gem install gameballSDK +gem install gameball ``` ### Requirements - Ruby 2.3+ and Gem 3.0+ @@ -26,15 +26,15 @@ ```ruby require 'gameball' Gameball.api_key="api_key" Gameball.transaction_key="transaction_key" -# If using API Version 3.0 -Gameball.api_version="v3.0 +# If using API Version 2.0 +Gameball.api_version="v2.0" ``` -### Example +### Examples #### Create Player ```ruby # Example 1 @@ -47,12 +47,12 @@ firstName: "Jon", lastName: "Snow", mobile: "+1234567", email:"jon.snow@example.com", gender:"M", - dateOfBirth:"1980-09-19T00:00:00.000Z", - joinDate:"2019-09-19T21:06:29.158Z", + dateOfBirth:DateTime.iso8601("1980-09-19T00:00:00.000Z"), + joinDate:DateTime.iso8601("2019-09-19T21:06:29.158Z"), tags: "VIP,Platinum", custom:{ location:"Miami", graduationDate:"2018-07-04T21:06:29.158Z", isMarried:false @@ -67,11 +67,11 @@ displayName:" Tyrion Lannister", firstName:"Tyrion", lastName:"Lannister", email:"tyrion@example.com", gender:"M", - dateOfBirth:"1978-01-11T00:00:00.000Z", - joinDate:"2019-09-19T21:06:29.158Z", + dateOfBirth:DateTime.iso8601("1978-01-11T00:00:00.000Z"), + joinDate:DateTime.iso8601("2019-09-19T21:06:29.158Z"), custom:{ location:"Miami", graduationDate:"2018-07-04T21:06:29.158Z", isMarried:false }