Module: Ebay

Defined in:
lib/ebay/browse.rb,
lib/ebay/config.rb,
lib/ebay/finding.rb,
lib/ebay/version.rb,
lib/ebay/shopping.rb,
lib/ebay/requestable.rb,
lib/ebay/merchandising.rb,
lib/ebay/oauth/client_credentials_grant.rb

Overview

Ruby wrapper to the eBay APIs

Defined Under Namespace

Modules: Config, Oauth, Requestable Classes: Browse, Finding, Merchandising, Shopping

Constant Summary collapse

VERSION =
'0.4.1'

Class Method Summary collapse

Class Method Details

.browse(**params) ⇒ Object

Returns a Browse API instance



11
12
13
# File 'lib/ebay/browse.rb', line 11

def self.browse(**params)
  Browse.new(**params)
end

.configure {|Config| ... } ⇒ Object

Configures credentials for accessing the eBay APIs

Yields:



7
8
9
# File 'lib/ebay/config.rb', line 7

def self.configure
  yield Config
end

.finding(**params) ⇒ Object

Returns a Finding API instance



9
10
11
# File 'lib/ebay/finding.rb', line 9

def self.finding(**params)
  Finding.new(**params)
end

.merchandising(**params) ⇒ Object

Returns a Merchandising API instance



9
10
11
# File 'lib/ebay/merchandising.rb', line 9

def self.merchandising(**params)
  Merchandising.new(**params)
end

.shopping(**params) ⇒ Object

Returns a Shopping API instance



9
10
11
# File 'lib/ebay/shopping.rb', line 9

def self.shopping(**params)
  Shopping.new(**params)
end