-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cleaning rubocop offenses, adding examples, bumping version
- Loading branch information
Showing
8 changed files
with
64 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
## 1.0.4 | ||
|
||
* New Calls: | ||
|
||
* Epages::REST::Shop#`update_product` | ||
* Epages::REST::Shop#`product_add_slideshow_image` | ||
* Epages::REST::Shop#`product_delete_slideshow_image` | ||
* Epages::REST::Shop#`product_slideshow_sequence` | ||
* Epages::REST::Shop#`product_update_slideshow_sequence` | ||
* Epages::REST::Shop#`sales` | ||
* Epages::REST::Shop#`parallel_calls` | ||
|
||
* Other changes | ||
|
||
* new attributes `shipping_data` and `payment_data` to orders | ||
* replaced attribute `comment` with `ustomer_comment` and `internal_note` | ||
* added range filters `crated_before` and `created_after` to orders | ||
* dates and are interpreted as Datetime, before was String | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# [Sales Examples](https://developer.epages.com/apps/api-reference/resource-sales.html) | ||
|
||
This example assumes you have configured the `shop` correctly. | ||
|
||
# [Sales Call](https://developer.epages.com/apps/api-reference/get-shops-shopid-sales.html) | ||
|
||
Returns the summary of sales for a specified product or for the shop grouped by currencies. | ||
|
||
``` | ||
general_sales = shop.sales | ||
product_sales = shop.sales(product_id: product) | ||
today_sales = shop.sales(created_after: Date.today) | ||
sales_since = shop.sales(created_after: '24-01-2016') | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module Epages | ||
VERSION = '1.0.3' | ||
VERSION = '1.0.4' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters