Sha256: 0e0f93ffb4c49d190d75ada943047928716f2e75356804ce975adaf2f66ccb9f

Contents?: true

Size: 283 Bytes

Versions: 1

Compression:

Stored size: 283 Bytes

Contents

class Resource
	def dispatch(response, provider, pb)
		resource = provider.getRequiredParameter('resourcefile');
		resourceLoader = pb.newResourceLoader()
		response.content_type = resourceLoader.getContentType(resource)
		return resourceLoader.getContent(resource)
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wirispluginengine-3.62.0.1322 lib/wirispluginengine/integration/resource.rb