id()
Get the id attribute of the resource.
# File activeresource/lib/active_resource/base.rb, line 696 def id attributes[self.class.primary_key] end