module CyberCoach::PostCreateable

Mixin for a resource that gets its URI assigned from the server. Include it in a class to use it.

Public Class Methods

included(base) click to toggle source

Installs class and instance methods in the class it is included in.

# File lib/cybercoach/post_createable.rb, line 10
def self.included(base)
  base.extend ClassMethods
  base.send :include, InstanceMethods
end