README.md in tokenex-0.3.0 vs README.md in tokenex-0.3.2

- old
+ new

@@ -23,13 +23,18 @@ ### Tokenization Let's start with a simple tokenization and detokenization of a credit card record: ```ruby -env = Tokenex::Environment.new(api_base_url, token_ex_id, api_key) -token = env.token_from_ccnum(4242424242424242) -ccnum = env.ccnum_from_token(token) -# ccnum === "4242424242424242" +tokenex = Tokenex::Environment.new(api_base_url, token_ex_id, api_key) +token = tokenex.token_from_ccnum(4242424242424242) +ccnum = tokenex.detokenize(token) +is_valid_token = tokenex.validate_token(token) +tokenex.delete_token(token) +arbitrary_data = "This is my string with 3 numbers less than 10" +token = tokenex.tokenize(arbitrary_data) +arbitrary_data = tokenex.detokenize(token) +tokenex.delete_token(token) ``` ## Development After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.