Class: SummaryRequest
- Inherits:
-
Object
- Object
- SummaryRequest
- Defined in:
- lib/dto/search/summary_request.rb
Overview
private SearchRequest searchRequest; private String dimension;
Instance Attribute Summary collapse
-
#dimension ⇒ Object
Returns the value of attribute dimension.
-
#search_request ⇒ Object
Returns the value of attribute search_request.
Instance Method Summary collapse
Instance Attribute Details
#dimension ⇒ Object
Returns the value of attribute dimension.
4 5 6 |
# File 'lib/dto/search/summary_request.rb', line 4 def dimension @dimension end |
#search_request ⇒ Object
Returns the value of attribute search_request.
4 5 6 |
# File 'lib/dto/search/summary_request.rb', line 4 def search_request @search_request end |
Instance Method Details
#query_params ⇒ Object
6 7 8 9 10 11 |
# File 'lib/dto/search/summary_request.rb', line 6 def query_params query_params = '' query_params = "dimension=#{CGI.escape(dimension)}&" if (dimension != nil) query_params += search_request.query_params if (search_request != nil) query_params end |