lib/mysportsfeeds.rb
# Verify the type and location of the stored data
Verify the type and location of the stored data
Verify the type and location of the stored data
def __verify_store(store_type, store_location)
        if !store_type.nil? and store_type != 'file'
            raiseException.new("Unrecognized storage type specified.  Supported values are: nil,'file'")
        end
        if store_type == 'file'
            if store_location.nil?
                raise Exception.new("Must specify a location for stored data.")
        	end
        end
    end
def __verify_store ( store_type , store_location ) if ! store_type . nil? and store_type != 'file' raiseException . new ( "Unrecognized storage type specified.  Supported values are: nil,'file'" ) end if store_type == 'file' if store_location . nil? raise Exception . new ( "Must specify a location for stored data." ) end end end
Verify the type and location of the stored data
Verify the type and location of the stored data
store_type
store_location