Skip to content

Commit

Permalink
(Data Success) Updated ruby library docs (#57)
Browse files Browse the repository at this point in the history
* Updated comments

* Updated HISTORY file

* Updated gem version

* Added Nick's change
  • Loading branch information
admiral-akk authored Apr 6, 2018
1 parent c6166aa commit 30752c2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
18 changes: 13 additions & 5 deletions HISTORY
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
=== 3.0.0.0 2018-03-05
* adds support for v205 of Sift Science's APIs
* v205 APIs are now called by default -- this is an incompatible change
(use :version => 204 to call the previous API version)
* Add content level decisions in Apply Decisions APIs.
=== 3.0.1 2018-03-05
- Improved documentation on HISTORY and README.MD

=== 3.0.0 2018-03-05
- Adds support for Sift Science API Version 205, including new [`$create_content`](https://siftscience.com/developers/docs/curl/events-api/reserved-events/create-content) and [`$update_content`](https://siftscience.com/developers/docs/curl/events-api/reserved-events/update-content) formats
- V205 APIs are now called -- **this is an incompatible change**
- (use `:version => 204` to call the previous API version)
- Adds support for content decisions to [Decisions API](https://siftscience.com/developers/docs/curl/decisions-api)

INCOMPATIBLE CHANGES INTRODUCED IN API V205:
- `$create_content` and `$update_content` have significantly changed, and the old format will be rejected
- `$send_message` and `$submit_review` events are no longer valid
- V205 improves server-side event data validation. In V204 and earlier, server-side validation accepted some events that did not conform to the published APIs in our [developer documentation](https://siftscience.com/developers/docs/curl/events-api). V205 does not modify existing event APIs other than those mentioned above, but may reject invalid event data that were previously accepted. **Please test your integration on V205 in sandbox before using in production.**

=== 2.2.1.0 2018-02-12
* Add session level decisions in Apply Decisions APIs.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ To learn more about the decisions endpoint visit our [developer docs](https://si
Get a list of your decisions.

**Optional Params**
- `entity_type`: `:user` or `:order` or `:session`
- `entity_type`: `:user` or `:order` or `:session` or `:content`
- `abuse_types`: `["payment_abuse", "content_abuse", "content_abuse",
"account_abuse", "legacy", "account_takeover"]`

Expand Down
2 changes: 1 addition & 1 deletion lib/sift/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module Sift
VERSION = "3.0.0"
VERSION = "3.0.1"
API_VERSION = "205"
end

0 comments on commit 30752c2

Please sign in to comment.