Class: Kong::Plugin

Inherits:
Object
  • Object
show all
Includes:
Base, BelongsToApi
Defined in:
lib/kong/plugin.rb

Constant Summary collapse

ATTRIBUTE_NAMES =
%w(id api_id name config enabled consumer_id).freeze
API_END_POINT =
'/plugins/'.freeze

Instance Attribute Summary

Attributes included from BelongsToApi

#api

Attributes included from Base

#api_end_point, #attributes

Method Summary

Methods included from BelongsToApi

#api_id=, #use_api_end_point

Methods included from Base

#client, #create, #create_or_update, #delete, #get, included, #initialize, #method_missing, #new?, #respond_to?, #save, #update

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Kong::Base