Class: KDL::Types::URLTemplate::QueryExpansion

Inherits:
StringExpansion show all
Defined in:
lib/kdl/types/url_template.rb

Direct Known Subclasses

QueryContinuation

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from StringExpansion

#expand, #initialize

Methods inherited from Part

allow_reserved?, #expand_variables

Constructor Details

This class inherits a constructor from KDL::Types::URLTemplate::StringExpansion

Class Method Details

.keep_empties?Boolean

Returns:



317
318
319
# File 'lib/kdl/types/url_template.rb', line 317

def self.keep_empties?
  true
end

.with_name?Boolean

Returns:



313
314
315
# File 'lib/kdl/types/url_template.rb', line 313

def self.with_name?
  true
end

Instance Method Details

#prefixObject



305
306
307
# File 'lib/kdl/types/url_template.rb', line 305

def prefix
  '?'
end

#separatorObject



309
310
311
# File 'lib/kdl/types/url_template.rb', line 309

def separator
  '&'
end