Skip to content

Commit 54a3fce

Browse files
Merge pull request #69 from ostdotcom/tilo_webhook
Readme changes for get transaction list extra parameters.
2 parents 490b4ab + bd45f30 commit 54a3fce

File tree

4 files changed

+15
-3
lines changed

4 files changed

+15
-3
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
[OST Ruby SDK v2.2.2](https://github.com/ostdotcom/ost-sdk-ruby/tree/v2.2.2)
2+
---
3+
4+
* Readme changes for documenting new parameters in transactions module. These parameters can help to
5+
get data between specific time interval.
6+
17
[OST Ruby SDK v2.2.0](https://github.com/ostdotcom/ost-sdk-ruby/tree/v2.2.0)
28
---
39

@@ -32,4 +38,4 @@
3238
[OST Ruby SDK v0.9.2](https://github.com/ostdotcom/ost-sdk-ruby/tree/v0.9.2)
3339
---
3440
Initial release of the official OST Ruby SDK<br />
35-
This release has the OST API V0 interaction layer implementation.
41+
This release has the OST API V0 interaction layer implementation.

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,10 @@ For executing transactions, you need to understand the 4 modules described below
467467
# Array of status values.
468468
statuses_array = ['CREATED', 'SUBMITTED', 'SUCCESS', 'FAILED']
469469
470+
# To get transactions between a specific time interval, add start timestamp and end timestamp.
471+
start_time = 1563260786
472+
end_time = 1563280786
473+
470474
# Name of the transaction. Eg. 'like', 'download', etc.
471475
# NOTE: Max length 25 characters (Allowed characters: [A-Za-z0-9_/s])
472476
transaction_name = 'like'
@@ -494,6 +498,8 @@ For executing transactions, you need to understand the 4 modules described below
494498
get_params = {}
495499
get_params[:user_id] = user_id
496500
get_params[:statuses] = statuses_array
501+
get_params[:start_time] = start_time
502+
get_params[:end_time] = end_time
497503
get_params[:meta_properties] = meta_properties.to_json
498504
get_params[:limit] = limit
499505
get_params[:pagination_identifier] = pagination_identifier

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.2.1
1+
2.2.2

lib/ost-sdk-ruby/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module OSTSdk
22

3-
VERSION = "2.2.1"
3+
VERSION = "2.2.2"
44

55
end

0 commit comments

Comments
 (0)