Content-Length: 256463 | pFad | http://github.com/r7kamura/rdmm/commit/4dd90353c0130387bf29499088f0342781364c08

3E Rename affiliate_url · r7kamura/rdmm@4dd9035 · GitHub
Skip to content

Commit

Permalink
Rename affiliate_url
Browse files Browse the repository at this point in the history
  • Loading branch information
r7kamura committed Feb 9, 2017
1 parent bec2e4f commit 4dd9035
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

- Fix bug on `Rdmm::Resources::ItemResource#affiliate_url`
- Fix bug on `Rdmm::Resources::ItemResource#url`
- Rename `#affiliate_url` to `#url_affiliate` on `Rdmm::Resources::ItemResource`

## 0.2.0

Expand Down
10 changes: 5 additions & 5 deletions lib/rdmm/resources/item_resource.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ def actors
Array(source["iteminfo"]["actor"])
end

# @return [String, nil]
def affiliate_url
source["affiliateURL"]
end

# @return [Array]
def authors
Array(source["iteminfo"]["author"])
Expand Down Expand Up @@ -115,6 +110,11 @@ def url
source["URL"]
end

# @return [String, nil]
def url_affiliate
source["affiliateURL"]
end

# @return [Integer, nil]
def volume
source["volume"]
Expand Down

0 comments on commit 4dd9035

Please sign in to comment.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/r7kamura/rdmm/commit/4dd90353c0130387bf29499088f0342781364c08

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy