Class: CodeStock::Mkurl
- Inherits:
-
Object
- Object
- CodeStock::Mkurl
- Defined in:
- lib/codestock/cdweb/lib/mkurl.rb
Instance Method Summary collapse
- #inherit_query_shead ⇒ Object
- #inherit_query_shead_offset ⇒ Object
- #inherit_shead ⇒ Object
-
#initialize(path, params) ⇒ Mkurl
constructor
A new instance of Mkurl.
Constructor Details
#initialize(path, params) ⇒ Mkurl
Returns a new instance of Mkurl.
14 15 16 17 |
# File 'lib/codestock/cdweb/lib/mkurl.rb', line 14 def initialize(path, params) @path = escape_path(path) @params = params end |
Instance Method Details
#inherit_query_shead ⇒ Object
23 24 25 |
# File 'lib/codestock/cdweb/lib/mkurl.rb', line 23 def inherit_query_shead create_url(query_param(true, true, false)) end |
#inherit_query_shead_offset ⇒ Object
19 20 21 |
# File 'lib/codestock/cdweb/lib/mkurl.rb', line 19 def inherit_query_shead_offset create_url(query_param(true, true, true)) end |
#inherit_shead ⇒ Object
27 28 29 |
# File 'lib/codestock/cdweb/lib/mkurl.rb', line 27 def inherit_shead create_url(query_param(false, true, false)) end |