Find a single resource from a one-off URL
Source Code
# File active_resource/base.rb, line 462 def find_one(options) case from = options[:from] when Symbol instantiate_record(get(from, options[:params])) when String path = "#{from}#{query_string(options[:params])}" instantiate_record(connection.get(path, headers)) end end
<code/>and<pre/>for code samples.