Class: SummaryRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/dto/search/summary_request.rb

Overview

private SearchRequest searchRequest; private String dimension;

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#dimensionObject

Returns the value of attribute dimension.



4
5
6
# File 'lib/dto/search/summary_request.rb', line 4

def dimension
  @dimension
end

#search_requestObject

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_paramsObject



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