Module: HasTokenable::Concern::InstanceMethods
- Defined in:
- lib/has_tokenable/concern.rb
Overview
ClassMethods
Instance Method Summary collapse
-
#to_param ⇒ Object
Returns the resource’s token.
Instance Method Details
#to_param ⇒ Object
Returns the resource’s token
63 64 65 |
# File 'lib/has_tokenable/concern.rb', line 63 def to_param self.send(self.class.[:param_name]) end |