Module: Ebay::Sandboxable
- Included in:
- Browse, Finding, Merchandising, Oauth::ClientCredentialsGrant, Shopping
- Defined in:
- lib/ebay/sandboxable.rb
Overview
Allows running requests in the eBay Sandbox
Instance Attribute Summary collapse
-
#sandbox? ⇒ Boolean
readonly
Returns whether requests run in the eBay Sandbox.
Instance Method Summary collapse
-
#sandbox ⇒ self
Runs requests in the eBay Sandbox.
Instance Attribute Details
#sandbox? ⇒ Boolean (readonly)
Returns whether requests run in the eBay Sandbox
20 21 22 |
# File 'lib/ebay/sandboxable.rb', line 20 def sandbox? @sandbox ||= false end |
Instance Method Details
#sandbox ⇒ self
Runs requests in the eBay Sandbox
11 12 13 14 |
# File 'lib/ebay/sandboxable.rb', line 11 def sandbox @sandbox = true self end |