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