lib/apia/definitions/error.rb
# Return the actual HTTP status code
#
# @return [Integer]
Return the actual HTTP status code
Return the actual HTTP status code
def http_status_code
        if @http_status.is_a?(Symbol)
          ::Rack::Utils::SYMBOL_TO_STATUS_CODE[@http_status]
        else
          @http_status
        end
      end
def http_status_code if @http_status . is_a? ( Symbol ) :: Rack :: Utils :: SYMBOL_TO_STATUS_CODE [ @http_status ] else @http_status end end
Return the actual HTTP status code
Return the actual HTTP status code
None
Integer