Module: OauthClientExt

Extended by:
ActiveSupport::Concern
Defined in:
lib/oauth_multi_db/oauth_client_ext.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#parse_notesObject



11
12
13
14
# File 'lib/oauth_multi_db/oauth_client_ext.rb', line 11

def parse_notes
  hash = JSON.parse(self.notes) rescue {}
  @client_symbol = hash['client_symbol']
end