class Nzb

Included Modules

Defined in:

nzb.cr
nzb/file.cr
nzb/segment.cr
nzb/version.cr

Constant Summary

VERSION = "0.3.2"

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(name : Nil | String, category : Nil | String, metadata : Hash(String, String), files : Array(Nzb::File)) #

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

[View source]
def self.new #

[View source]

Class Method Detail

def self.from_xml(xml) #

[View source]
def self.open(filepath : String) #

[View source]

Instance Method Detail

def category : String | Nil #

[View source]
def category=(category : String | Nil) #

[View source]
def files : Array(Nzb::File) #

[View source]
def from_xml(xml : XML::Node) : Nzb #

[View source]
def metadata : Hash(String, String) #

[View source]
def metadata=(metadata : Hash(String, String)) #

[View source]
def name : String | Nil #

[View source]
def name=(name : String | Nil) #

[View source]
def to_xml #

[View source]