Class: Crawlberg::SitemapUrl

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSitemapUrl

Returns a new instance of SitemapUrl.

Parameters:

  • url: (String)
  • lastmod: (String)
  • changefreq: (String)
  • priority: (String)


238
# File 'sig/types.rbs', line 238

def initialize: (?url: String, ?lastmod: String, ?changefreq: String, ?priority: String) -> void

Instance Attribute Details

#changefreqString?

Returns the value of attribute changefreq.

Returns:

  • (String, nil)


235
236
237
# File 'sig/types.rbs', line 235

def changefreq
  @changefreq
end

#lastmodString?

Returns the value of attribute lastmod.

Returns:

  • (String, nil)


234
235
236
# File 'sig/types.rbs', line 234

def lastmod
  @lastmod
end

#priorityString?

Returns the value of attribute priority.

Returns:

  • (String, nil)


236
237
238
# File 'sig/types.rbs', line 236

def priority
  @priority
end

#urlString?

Returns the value of attribute url.

Returns:

  • (String, nil)


233
234
235
# File 'sig/types.rbs', line 233

def url
  @url
end