Class: Kongfigure::Synchronizers::Route

Inherits:
Base
  • Object
show all
Defined in:
lib/kongfigure/synchronizers/route.rb

Instance Attribute Summary

Attributes inherited from Base

#parent_resource, #remote_resources, #resources

Instance Method Summary collapse

Methods inherited from Base

#cleanup, #create, #find, #initialize, #synchronize_all, #synchronize_plugins, #synchronize_resource, #unchanged, #update

Constructor Details

This class inherits a constructor from Kongfigure::Synchronizers::Base

Instance Method Details

#resource_api_nameObject



8
9
10
# File 'lib/kongfigure/synchronizers/route.rb', line 8

def resource_api_name
  "routes"
end

#resource_moduleObject



4
5
6
# File 'lib/kongfigure/synchronizers/route.rb', line 4

def resource_module
  Kongfigure::Resources::Route
end

#synchronize(resource) ⇒ Object



12
13
14
# File 'lib/kongfigure/synchronizers/route.rb', line 12

def synchronize(resource)
  synchronize_resource(resource)
end