Module: DiandianOAuth::Client::Callbacks::InstanceMethods

Defined in:
lib/diandian_oauth/client/callbacks.rb

Instance Method Summary collapse

Instance Method Details

#token_refreshed(access_token) ⇒ Object



41
42
43
44
45
# File 'lib/diandian_oauth/client/callbacks.rb', line 41

def token_refreshed access_token
  self.class.callbacks[:token_refreshed].each do |callback|
    callback.apply(self, access_token)
  end
end