Module: CyberCoach::PutCreateable
- Included in:
- Partnership, Subscription, User
- Defined in:
- lib/cybercoach/put_createable.rb
Overview
Mixin for a resource that gets its URI assigned from the client. Include it in a class to use it.
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
-
.included(base) ⇒ Object
Installs class and instance methods in the class it is included in.
Class Method Details
.included(base) ⇒ Object
Installs class and instance methods in the class it is included in.
10 11 12 13 |
# File 'lib/cybercoach/put_createable.rb', line 10 def self.included(base) base.extend ClassMethods base.send :include, InstanceMethods end |