Module: DiandianOAuth::Client::Callbacks

Included in:
DiandianOAuth::Client
Defined in:
lib/diandian_oauth/client/callbacks.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods Classes: Callback

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



16
17
18
19
20
21
22
# File 'lib/diandian_oauth/client/callbacks.rb', line 16

def self.included base
  base.extend ClassMethods
  base.send :include, InstanceMethods
  base.class_eval do
    self.callbacks = {}
  end
end