Module: Zooplankton

Defined in:
lib/zooplankton.rb,
lib/zooplankton/parser.rb,
lib/zooplankton/version.rb,
lib/zooplankton/resolver.rb

Defined Under Namespace

Classes: Parser, Resolver

Constant Summary collapse

VERSION =
"1.3.0"
@@parser =
Parser.new

Class Method Summary collapse

Class Method Details

.path_template_for(helper_name, query_params = {}, supplied_params = nil) ⇒ Object



8
9
10
# File 'lib/zooplankton.rb', line 8

def path_template_for(helper_name, query_params = {}, supplied_params = nil)
  @@parser.path_template_for(helper_name, query_params, supplied_params)
end

.url_template_for(helper_name, query_params = {}, supplied_params = nil) ⇒ Object



12
13
14
# File 'lib/zooplankton.rb', line 12

def url_template_for(helper_name, query_params = {}, supplied_params = nil)
  @@parser.url_template_for(helper_name, query_params, supplied_params)
end