Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add plug-in feature #6

Merged
merged 1 commit into from
May 11, 2015
Merged

Add plug-in feature #6

merged 1 commit into from
May 11, 2015

Conversation

winebarrel
Copy link

🙇

# any_gem/lib/arproxy/plugin/my_plugin
module Arproxy::Plugin
  class MyPlugin < Arproxy::Base
    Arproxy::Plugin.register(:my_plugin, self)

    def execute(sql, name=nil)
      # Any processing
    end
  end
end
Arproxy.configure do |config|
  config.plugin :my_plugin
end

@winebarrel
Copy link
Author

@mirakui ping

mirakui added a commit that referenced this pull request May 11, 2015
@mirakui mirakui merged commit 811a37b into cookpad:master May 11, 2015
@mirakui
Copy link
Collaborator

mirakui commented May 11, 2015

thanks!

@winebarrel winebarrel deleted the plugin_feature branch May 11, 2015 14:58
@mirakui
Copy link
Collaborator

mirakui commented May 11, 2015

released as 0.2.0

@winebarrel
Copy link
Author

Thank you for merging 🙇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants