Sha256: d6184e0a5b7774c4b9b787d0b4d9e5833682e1f631c669d90d6672d43a8a004c

Contents?: true

Size: 351 Bytes

Versions: 3

Compression:

Stored size: 351 Bytes

Contents

# Contains the result of a sitemap generation

module DynamicSitemaps
  class SitemapResult
    attr_reader :sitemap, :files

    def initialize(sitemap, files)
      @sitemap = sitemap
      @files = files
    end

    def name
      sitemap.name
    end

    def host
      sitemap.host
    end

    def folder
      sitemap.folder
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dynamic_sitemaps-2.0.0 lib/dynamic_sitemaps/sitemap_result.rb
dynamic_sitemaps-2.0.0.beta2 lib/dynamic_sitemaps/sitemap_result.rb
dynamic_sitemaps-2.0.0.beta lib/dynamic_sitemaps/sitemap_result.rb