Class: Card::Format::CsvFormat

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

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.view_caching?Boolean

Returns:

  • (Boolean)


12
13
14
15
16
# File 'lib/card/format/csv_format.rb', line 12

def self.view_caching?
  # TODO: make view caching handle non-strings
  # (specifically stub_render)
  false
end

Instance Method Details

#mime_typeObject



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

def mime_type
  "text/comma-separated-values"
end