Permalink
Browse files

Merge branch 'master' into github-master

  • Loading branch information...
2 parents 4efaefa + 077b71b commit c97598b2de6a0e501ada4dc90827ba5b12d59d0a Steven Gravell committed Sep 2, 2011
Showing with 5 additions and 5 deletions.
  1. +1 −1 README.md
  2. +4 −4 src/smk_client.erl
View
@@ -6,7 +6,7 @@ The API for Smarkets.com is based on a set of messages transported between Smark
Add the following dependency to your [rebar](https://github.com/basho/rebar).config and have at it.
- {smk, "0.2.1", {git, "https://github.com/smarkets/smk_erlang_sdk.git", {tag, "0.2.1"}}}
+ {smk, "0.2.1", {git, "https://github.com/smarkets/smk_erlang_sdk.git", {tag, "v0.2.1"}}}
Take a look at [smk_client](https://github.com/smarkets/smk_erlang_sdk/blob/master/src/smk_client.erl) and [smk_my_callbacks](https://github.com/smarkets/smk_erlang_sdk/blob/master/src/smk_my_callbacks.erl) example.
View
@@ -140,8 +140,8 @@ subscribe(Name, Mkt) ->
gen_fsm:sync_send_event(Name,
#seto_payload{
eto_payload=#eto_payload{},
- type=market_subscription,
- market_subscription=#seto_market_subscription{
+ type=market_subscribe,
+ market_subscribe=#seto_market_subscribe{
market=Mkt
}}).
@@ -150,8 +150,8 @@ unsubscribe(Name, Mkt) ->
gen_fsm:sync_send_event(Name,
#seto_payload{
eto_payload=#eto_payload{},
- type=market_unsubscription,
- market_unsubscription=#seto_market_unsubscription{
+ type=market_unsubscribe,
+ market_unsubscribe=#seto_market_unsubscribe{
market=Mkt
}}).

0 comments on commit c97598b

Please sign in to comment.