Module: Middleman::Sitemap::Extensions::RequestEndpoints::InstanceMethods

Defined in:
lib/middleman-core/sitemap/extensions/request_endpoints.rb

Instance Method Summary collapse

Instance Method Details

#endpoint(*args, &block) ⇒ Object



26
27
28
# File 'lib/middleman-core/sitemap/extensions/request_endpoints.rb', line 26

def endpoint(*args, &block)
  endpoint_manager.create_endpoint(*args, &block)
end

#endpoint_managerObject



22
23
24
# File 'lib/middleman-core/sitemap/extensions/request_endpoints.rb', line 22

def endpoint_manager
  @_endpoint_manager ||= EndpointManager.new(self)
end