class Nzb::File

Included Modules

Defined in:

nzb/file.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_xml(xml) : File #

[View source]
def self.new(poster : String, date : Time, subject : String, groups : Array(String) = Array(String).new, segments : Array(Nzb::Segment) = Array(Segment).new, metadata : Hash(String, String) = Hash(String, String).new) #

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

[View source]

Instance Method Detail

def date : Time #

[View source]
def date=(date : Time) #

[View source]
def groups : Array(String) #

[View source]
def groups=(groups : Array(String)) #

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

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

[View source]
def poster : String #

[View source]
def poster=(poster : String) #

[View source]
def segments : Array(Segment) #

[View source]
def segments=(segments : Array(Segment)) #

[View source]
def subject : String #

[View source]
def subject=(subject : String) #

[View source]
def to_xml(xml) #

[View source]