struct V1::Types::MediaType

Defined in:

v1/types/types.cr

Constructors

Class Method Summary

Instance Method Summary

Macro Summary

Constructor Detail

def self.new(str : String) #

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

[View source]

Class Method Detail

def self.[](str) #

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

[View source]
def self.to_json(mtype : MediaType, json : JSON::Builder) #

[View source]
def self.to_json(json : JSON::Builder) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(str _str = @str) #

[View source]
def str : String #

def to_s : String #

[View source]

Macro Detail

macro method_missing(call) #

[View source]