class Kongfigure::Synchronizers::Consumer
Public Instance Methods
resource_api_name()
click to toggle source
# File lib/kongfigure/synchronizers/consumer.rb, line 17 def resource_api_name "consumers" end
resource_module()
click to toggle source
# File lib/kongfigure/synchronizers/consumer.rb, line 13 def resource_module Kongfigure::Resources::Consumer end
synchronize(resource)
click to toggle source
Calls superclass method
Kongfigure::Synchronizers::Base#synchronize
# File lib/kongfigure/synchronizers/consumer.rb, line 4 def synchronize(resource) super(resource) key_auths_synchronizer = Kongfigure::Synchronizers::Consumers::KeyAuth.new(@http_client, resource.key_auths, resource) key_auths_synchronizer.synchronize_all acls_synchronizer = Kongfigure::Synchronizers::Consumers::ACL.new(@http_client, resource.acls, resource) acls_synchronizer.synchronize_all end