Skip to content

Commit

Permalink
Merge pull request #8 from hata/fix_usage_example_response_placement_…
Browse files Browse the repository at this point in the history
…class

Replace RCHPlacement with RCHRecommendedPlacement
  • Loading branch information
cahlering authored Dec 15, 2017
2 parents f330235 + d02720c commit 515fef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Basic SDK Usage (Objective-C):
[[RCHSDK defaultClient] sendRequest:[builder build] success:^(id responseObject) {

RCHPlacementsResult *result = responseObject;
RCHPlacement *placement = result.placements[0];
RCHRecommendedPlacement *placement = result.placements[0];
product = placement.recommendedProducts[0];

[product trackProductView];
Expand Down

0 comments on commit 515fef9

Please sign in to comment.