Class: Kong::Api
Constant Summary collapse
- ATTRIBUTE_NAMES =
%w(id name request_host request_path strip_request_path preserve_host upstream_url).freeze
- API_END_POINT =
'/apis/'.freeze
Instance Attribute Summary
Attributes included from Base
Instance Method Summary collapse
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
Instance Method Details
#plugins ⇒ Array<Kong::Plugin>
10 11 12 |
# File 'lib/kong/api.rb', line 10 def plugins Plugin.list({ api_id: self.id }) end |