Module: ApiTwister::Documentation

Defined in:
lib/api-twister/documentation.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
6
7
8
9
10
# File 'lib/api-twister/documentation.rb', line 3

def Documentation.included(base)
  base.class_eval <<-eos
  class_inheritable_accessor :_api_definition
  class_inheritable_accessor :_api_specifications
  extend ClassMethods
  include InstanceMethods
eos
end