Class: Rakuten::Api::Bookmark
- Inherits:
-
Object
- Object
- Rakuten::Api::Bookmark
- Defined in:
- lib/rakuten/api/bookmark.rb
Constant Summary collapse
- List =
"Rakuten::Api::Bookmark.list"- Add =
"Rakuten::Api::Bookmark.add"- Delete =
"Rakuten::Api::Bookmark.delete"
Class Method Summary collapse
-
.add(opts = {}) ⇒ Object
Favorite Bookmark Add API (version:2012-06-27).
-
.delete(opts = {}) ⇒ Object
Favorite Bookmark Delete API (version:2012-06-27).
-
.list(opts = {}) ⇒ Object
Favorite Bookmark List API (version:2012-06-27).
Class Method Details
.add(opts = {}) ⇒ Object
Favorite Bookmark Add API (version:2012-06-27)
19 20 21 |
# File 'lib/rakuten/api/bookmark.rb', line 19 def add(opts={}) Rakuten::Request.get("https://app.rakuten.co.jp/services/api/FavoriteBookmark/Add/20120627", Rakuten::Api.merge(opts)) end |
.delete(opts = {}) ⇒ Object
Favorite Bookmark Delete API (version:2012-06-27)
24 25 26 |
# File 'lib/rakuten/api/bookmark.rb', line 24 def delete(opts={}) Rakuten::Request.get("https://app.rakuten.co.jp/services/api/FavoriteBookmark/Delete/20120627", Rakuten::Api.merge(opts)) end |
.list(opts = {}) ⇒ Object
Favorite Bookmark List API (version:2012-06-27)
14 15 16 |
# File 'lib/rakuten/api/bookmark.rb', line 14 def list(opts={}) Rakuten::Request.get("https://app.rakuten.co.jp/services/api/FavoriteBookmark/List/20120627", Rakuten::Api.merge(opts)) end |