Class: Card::Format::JsFormat

Inherits:
Card::Format show all
Defined in:
lib/card/format/js_format.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.view_caching?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/card/format/js_format.rb', line 8

def self.view_caching?
  false
end

Instance Method Details

#mime_typeObject



12
13
14
# File 'lib/card/format/js_format.rb', line 12

def mime_type
  "text/javascript"
end