split_options(options = {})
private
split an option hash into two
hashes, one containing the prefix options, and the
other containing the leftovers.
# File activeresource/lib/active_resource/base.rb, line 917
def split_options(options = {})
prefix_options, query_options = {}, {}
(options || {}).each do |key, value|
next if key.blank?
(prefix_parameters.include?(key.to_sym) ? prefix_options : query_options)[key.to_sym] = value
end
[ prefix_options, query_options ]
end