class LHC::Formats::JSON
def format_options(options)
Experimental RBS support (using type sampling data from the type_fusion
project).
def format_options: (Hash options) -> Hash
This signature was generated using 39 samples from 1 application.
def format_options(options) options[:headers] ||= {} no_content_type_header!(options) no_accept_header!(options) options[:headers]['Content-Type'] = 'application/json; charset=utf-8' options[:headers]['Accept'] = 'application/json,application/vnd.api+json' options[:headers]['Accept-Charset'] = 'utf-8' options end