Class: Rakuten::Api::Bookmark

Inherits:
Object
  • Object
show all
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

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