Class: Kongfigure::Synchronizers::Upstream

Inherits:
Base
  • Object
show all
Defined in:
lib/kongfigure/synchronizers/upstream.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/upstream.rb', line 8

def resource_api_name
  "upstreams"
end

#resource_moduleObject



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

def resource_module
  Kongfigure::Resources::Upstream
end

#synchronize(resource) ⇒ Object



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

def synchronize(resource)
  synchronize_resource(resource)
end