Module: Middleman::Api::ClassMethods

Defined in:
lib/middleman-api/extension.rb

Instance Method Summary collapse

Instance Method Details

#api_formatsHash

Returns:

  • (Hash)

26
27
28
# File 'lib/middleman-api/extension.rb', line 26

def api_formats
  [:json, :xml]
end