struct ActionController::Error::ContentResponse

Overview

Provides details on available data formats

Included Modules

Extended Modules

Defined in:

action-controller/errors.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(error : String, accepts : Nil | Array(String) = nil) #

[View source]

Instance Method Detail

def accepts : Array(String) | Nil #

[View source]
def error : String #

[View source]