Skip to content

Commit

Permalink
add :nodoc:
Browse files Browse the repository at this point in the history
  • Loading branch information
mamantoha committed Jun 27, 2024
1 parent abf134e commit 5d35b83
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/resolv.cr
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ module Resolv
class SOA < Resource
getter mname, rname, serial, refresh, retry, expire, minimum

# :nodoc:
def initialize(
@mname : String,
@rname : String,
Expand All @@ -39,6 +40,9 @@ module Resolv
end

class MX < Resource
getter preference, exchange

# :nodoc:
def initialize(
@preference : UInt16,
@exchange : String
Expand All @@ -49,34 +53,39 @@ module Resolv
class A < Resource
getter address

# :nodoc:
def initialize(@address : String)
end
end

class NS < Resource
getter nsdname

# :nodoc:
def initialize(@nsdname : String)
end
end

class CNAME < Resource
getter cname

# :nodoc:
def initialize(@cname : String)
end
end

class PTR < Resource
getter ptrdname

# :nodoc:
def initialize(@ptrdname : String)
end
end

class TXT < Resource
getter txt_data

# :nodoc:
def initialize(@txt_data : Array(String))
end
end
Expand Down

0 comments on commit 5d35b83

Please sign in to comment.