Method: ActiveShipping::Response#success?

Defined in:
lib/active_shipping/response.rb

#success?Boolean

Whether the request was executed successfully or not.

Returns:

  • (Boolean)

    Should only return true if the attributes of teh response instance are set with useful values.



32
33
34
# File 'lib/active_shipping/response.rb', line 32

def success?
  @success ? true : false
end