Sha256: f95a55d606af688680e1e76bd1bad5527789acfbcc2a9486bb24ab3fb8220f44
Contents?: true
Size: 333 Bytes
Versions: 1
Compression:
Stored size: 333 Bytes
Contents
class QueryHelper class InvalidSortParamError < StandardError attr_reader :sort_string def initialize(msg='Invalid sort param', sort_string='') @sort_string = sort_string super(msg) end def as_json { 'error' => message, 'sort_param' => sort_string } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
query_helper-0.3.8 | lib/query_helper/invalid_sort_param_error.rb |