Module: TokenMaster::Model

Defined in:
lib/token_master/model.rb

Overview

TokenMaster::Model provides the interface to the app it is used in, providing access to its public methods by invoking TokenMaster::ClassMethods and definiing the appropriate methods on the app model(s).

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

Includes TokenMaster::Model and extends TokenMaster::ClassMethods to the class it's used with (automatically included via Railties)



6
7
8
# File 'lib/token_master/model.rb', line 6

def self.included(base)
  base.extend(ClassMethods)
end