class Cb::Responses::SavedSearch::List
Protected Instance Methods
extract_models()
click to toggle source
# File lib/cb/responses/saved_search/list.rb, line 25 def extract_models model_hashes.map { |model_data| Models::SavedSearch.new(model_data) } end
hash_containing_metadata()
click to toggle source
# File lib/cb/responses/saved_search/list.rb, line 21 def hash_containing_metadata response end
validate_api_hash()
click to toggle source
# File lib/cb/responses/saved_search/list.rb, line 17 def validate_api_hash required_response_field(collection_node, response) end
Private Instance Methods
collection_node()
click to toggle source
# File lib/cb/responses/saved_search/list.rb, line 31 def collection_node 'Results' end
model_hashes()
click to toggle source
# File lib/cb/responses/saved_search/list.rb, line 35 def model_hashes response[collection_node] end