module Ebay::Config
Configures credentials for accessing the eBay APIs
Attributes
app_id[W]
cert_id[W]
dev_id[W]
Public Class Methods
app_id()
click to toggle source
@!attribute [rw] app_id
@return [String] unique identifier for the application @note This attribute defaults to the `EBAY_APP_ID` environment variable.
# File lib/ebay/config.rb, line 17 def app_id @app_id ||= ENV['EBAY_APP_ID'] end
cert_id()
click to toggle source
@!attribute [rw] cert_id
@return [String] certificate that authenticates the application when
making API calls
@note This attribute defaults to the `EBAY_CERT_ID` environment
variable.
# File lib/ebay/config.rb, line 33 def cert_id @cert_id ||= ENV['EBAY_CERT_ID'] end
dev_id()
click to toggle source
@!attribute [rw] dev_id
@return [String] unique identifier for the developer's account @note This attribute defaults to the `EBAY_DEV_ID` environment variable.
# File lib/ebay/config.rb, line 24 def dev_id @dev_id ||= ENV['EBAY_DEV_ID'] end