module Croods::Resource::Identifier
Public Instance Methods
identifier(attribute = nil)
click to toggle source
# File lib/croods/resource/identifier.rb, line 6 def identifier(attribute = nil) return @identifier ||= :id unless attribute @identifier = attribute end