Permalink
Browse files

Valid jiffy ejson in README.

  • Loading branch information...
1 parent a4e4f7b commit 4ac9f8982adc190003e57fb454a5f418dbcc4dff @anha0825 anha0825 committed Mar 10, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.md
View
@@ -1,10 +1,10 @@
Here's how you use this thing without using any macro help:
dinerl:setup("AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "us-east-1b").
- dinerl:create_table(<<"TestTable">>, [{<<"HashKeyElement">>, [{<<"AttributeName">>, <<"Key">>}, {<<"AttributeType">>, <<"S">>}]}], 50, 50).
+ dinerl:create_table(<<"TestTable">>, {[{<<"HashKeyElement">>, {[{<<"AttributeName">>, <<"Key">>}, {<<"AttributeType">>, <<"S">>}]}}]}, 50, 50).
dinerl:list_tables().
- dinerl:put_item(<<"TestTable">>, [{<<"Key">>, [{<<"S">>, <<"jello">>}]}], []).
- dinerl:get_item(<<"TestTable">>, [{<<"HashKeyElement">>, [{<<"S">>, <<"jello">>}]}], []).
+ dinerl:put_item(<<"TestTable">>, {[{<<"Key">>, {[{<<"S">>, <<"jello">>}]}}]}, []).
+ dinerl:get_item(<<"TestTable">>, {[{<<"HashKeyElement">>, {[{<<"S">>, <<"jello">>}]}}]}, []).
put(Key, Value, TTL, Now) ->
dinerl:put_item(<<"Attributions">>, [{<<"UserKey">>, [{<<"S">>, Key}]},

0 comments on commit 4ac9f89

Please sign in to comment.