Method: ActiveShipping::Response#test?
- Defined in:
- lib/active_shipping/response.rb
#test? ⇒ Boolean
Whether this request was executed against the sandbox or test environment instead of the production environment of the carrier.
39 40 41 |
# File 'lib/active_shipping/response.rb', line 39 def test? @test ? true : false end |