Module: ActiveRemote::PrimaryKey
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
-
#primary_key ⇒ Object
Instance level access to either the default primary key, or whatever you configured the class level primary key to be.
Instance Method Details
#primary_key ⇒ Object
Instance level access to either the default primary key, or whatever you configured the class level primary key to be.
32 33 34 |
# File 'lib/active_remote/primary_key.rb', line 32 def primary_key self.class.primary_key end |