module Apiway::Model

Public Class Methods

all() click to toggle source
# File lib/apiway/model.rb, line 17
def all
  @all ||= []
end
included( base ) click to toggle source
# File lib/apiway/model.rb, line 9
def included( base )
  all << base
  base.class_eval do
    extend  ClassMethods
    include InstanceMethods
  end
end