Sha256: b7ec7598e8b2129f2b1dba4044ac5eb2f09b7ce75cf6548a1ee9ff357f5337de
Contents?: true
Size: 854 Bytes
Versions: 1
Compression:
Stored size: 854 Bytes
Contents
require_relative "./lib/gameball" Gameball.api_version="v3.0" Gameball.api_key="184be486ad124379a8d1bf6dbe59cd8b" Gameball.transaction_key="5cd1cb2bef9f475c85e8d2a6edd85894" res= Gameball::Player.initialize_player({ playerUniqueId:"player121233", mobile: "+1234567", email: "jon.snow@example.com", playerAttributes:{ displayName:"Jon Snow", firstName: "Jon", lastName: "Snow", mobile: "+1234567", email:"jon.snow@example.com", gender:"M", 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 } } }) puts res.body
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gameball-3.1.5 | test.rb |