Skip to content

Commit

Permalink
Fix bug on price and price_proper methods on item resource
Browse files Browse the repository at this point in the history
  • Loading branch information
r7kamura committed Feb 10, 2017
1 parent 21b673d commit d9b59be
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,7 @@
## Unreleased

- Fix bug on `Rdmm::Resources::ItemReosurce#price`

## 0.2.1

- Fix bug on `Rdmm::Resources::ItemResource#affiliate_url`
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -256,8 +256,8 @@ Available methods:
- `#makers`
- `#number`
- `#price`
- `#price`
- `#price_deliveries`
- `#price_proper`
- `#product_id`
- `#released_at`
- `#review_average`
Expand Down
2 changes: 1 addition & 1 deletion lib/rdmm/resources/item_resource.rb
Expand Up @@ -124,7 +124,7 @@ def price_deliveries

# @note May not be a Integer
# @return [Integer, nil]
def price
def price_proper
if source["prices"]
source["prices"]["proper"]
end
Expand Down

0 comments on commit d9b59be

Please sign in to comment.