Module: ApiTwister

Defined in:
lib/api-twister/api_method.rb,
lib/api-twister/code_table.rb,
lib/api-twister/api_twister.rb,
lib/api-twister/api_attribute.rb,
lib/api-twister/documentation.rb,
lib/api-twister/api_definition.rb,
lib/api-twister/api_association.rb,
lib/api-twister/api_documentation.rb

Defined Under Namespace

Modules: ClassMethods, Documentation, InstanceMethods Classes: ApiAssociation, ApiAttribute, ApiDefinition, ApiDocumentation, ApiMethod, CodeTable

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



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

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