README.md in omisego-0.9.5 vs README.md in omisego-0.9.6
- old
+ new
@@ -324,12 +324,14 @@
#### All for user
Get the list of transactions for a specific provider user ID from the eWallet API.
```
-transaction = OmiseGO::Transaction.all_for_user(
- provider_user_id: "some_uuid"
+transaction = OmiseGO::Transaction.all(
+ params: {
+ provider_user_id: "some_uuid"
+ }
)
```
Returns either:
- An `OmiseGO::List` instance of `OmiseGO::Transaction` instances
@@ -337,9 +339,10 @@
Parameters can be specified in the following way:
```
transaction = OmiseGO::Transaction.all(params: {
+ provider_user_id: "some_uuid",
page: 1,
per_page: 10,
sort_by: 'created_at',
sort_dir: 'desc',
search_terms: {