Module: Linkshare
- Defined in:
- lib/linkshare.rb,
lib/linkshare/coupon.rb,
lib/linkshare/events.rb,
lib/linkshare/request.rb,
lib/linkshare/version.rb,
lib/linkshare/response.rb,
lib/linkshare/strategy.rb,
lib/linkshare/link_locator.rb,
lib/linkshare/custom_reports.rb,
lib/linkshare/product_search.rb,
lib/linkshare/advanced_reports.rb,
lib/linkshare/advertiser_search.rb
Defined Under Namespace
Classes: AdvancedReports, AdvertiserSearch, Coupon, CustomReports, Events, LinkLocator, ProductSearch, Request, Response, Strategy
Constant Summary collapse
- API_URIS =
{ coupon: "https://api.rakutenmarketing.com/coupon/1.0", link_locator: "https://api.rakutenmarketing.com/linklocator/1.0", advanced_reports: "https://api.rakutenmarketing.com/advancedreports/1.0", custom_reports: "https://ran-reporting.rakutenmarketing.com/en/reports", product_search: "https://api.rakutenmarketing.com/productsearch/1.0", events: "https://api.rakutenmarketing.com/events/1.0/transactions", advertiser_search: "https://api.rakutenmarketing.com/advertisersearch/1.0" }
- SITE =
"https://api.rakutenmarketing.com/"
- TOKEN_URL =
"token/"
- VERSION =
"0.1.4"
Class Attribute Summary collapse
-
.consumer_key ⇒ Object
Returns the value of attribute consumer_key.
-
.consumer_secret ⇒ Object
Returns the value of attribute consumer_secret.
-
.custom_report_token ⇒ Object
Returns the value of attribute custom_report_token.
-
.password ⇒ Object
Returns the value of attribute password.
-
.security_token ⇒ Object
Returns the value of attribute security_token.
-
.sid ⇒ Object
Returns the value of attribute sid.
-
.username ⇒ Object
Returns the value of attribute username.
Class Method Summary collapse
- .advancedreports ⇒ Object
- .advertisersearch ⇒ Object
- .coupon ⇒ Object
- .customreports ⇒ Object
- .events ⇒ Object
- .linklocator ⇒ Object
- .productsearch ⇒ Object
- .token ⇒ Object
Class Attribute Details
.consumer_key ⇒ Object
Returns the value of attribute consumer_key.
28 29 30 |
# File 'lib/linkshare.rb', line 28 def consumer_key @consumer_key end |
.consumer_secret ⇒ Object
Returns the value of attribute consumer_secret.
28 29 30 |
# File 'lib/linkshare.rb', line 28 def consumer_secret @consumer_secret end |
.custom_report_token ⇒ Object
Returns the value of attribute custom_report_token.
28 29 30 |
# File 'lib/linkshare.rb', line 28 def custom_report_token @custom_report_token end |
.password ⇒ Object
Returns the value of attribute password.
28 29 30 |
# File 'lib/linkshare.rb', line 28 def password @password end |
.security_token ⇒ Object
Returns the value of attribute security_token.
28 29 30 |
# File 'lib/linkshare.rb', line 28 def security_token @security_token end |
.sid ⇒ Object
Returns the value of attribute sid.
28 29 30 |
# File 'lib/linkshare.rb', line 28 def sid @sid end |
.username ⇒ Object
Returns the value of attribute username.
28 29 30 |
# File 'lib/linkshare.rb', line 28 def username @username end |
Class Method Details
.advancedreports ⇒ Object
47 48 49 |
# File 'lib/linkshare.rb', line 47 def self.advancedreports @advancedreports ||= Linkshare::AdvancedReports.new end |
.advertisersearch ⇒ Object
55 56 57 |
# File 'lib/linkshare.rb', line 55 def self.advertisersearch @advertisersearch ||= Linkshare::AdvertiserSearch.new end |
.coupon ⇒ Object
35 36 37 |
# File 'lib/linkshare.rb', line 35 def self.coupon @coupon ||= Linkshare::Coupon.new end |
.customreports ⇒ Object
51 52 53 |
# File 'lib/linkshare.rb', line 51 def self.customreports @customreports ||= Linkshare::CustomReports.new end |
.events ⇒ Object
59 60 61 |
# File 'lib/linkshare.rb', line 59 def self.events @events ||= Linkshare::Events.new end |
.linklocator ⇒ Object
39 40 41 |
# File 'lib/linkshare.rb', line 39 def self.linklocator @linklocator ||= Linkshare::LinkLocator.new end |
.productsearch ⇒ Object
43 44 45 |
# File 'lib/linkshare.rb', line 43 def self.productsearch @productsearch ||= Linkshare::ProductSearch.new end |