class Cb::Responses::SavedSearch::Create
Protected Instance Methods
extract_models()
click to toggle source
# File lib/cb/responses/saved_search/create.rb, line 25 def extract_models Models::SavedSearch.new(model_hash) end
hash_containing_metadata()
click to toggle source
# File lib/cb/responses/saved_search/create.rb, line 21 def hash_containing_metadata response end
validate_api_hash()
click to toggle source
# File lib/cb/responses/saved_search/create.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/create.rb, line 31 def collection_node 'Results' end
model_hash()
click to toggle source
# File lib/cb/responses/saved_search/create.rb, line 35 def model_hash response[collection_node][0] end