Sha256: cf0fbbd442bc5729702d1337e10926ce743f4df9c0df2d33ed2d82f55e6533e0

Contents?: true

Size: 259 Bytes

Versions: 1

Compression:

Stored size: 259 Bytes

Contents

module Jive
	class OauthToken < ActiveRecord::Base
		module AddOn
			module ClassMethods
				def self.included(base)
					base.class_eval do
						has_many :oauth_tokens, :class_name => "Jive::OauthToken", :as => :owner
					end
				end
			end
		end
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jive-oauth_token-0.0.4 lib/jive/oauth_token/add_on/class_methods.rb