Sha256: 2602414d4d3198750464a640b2481afdf97eaaa884e08d62b1ac29996c1a8c81
Contents?: true
Size: 551 Bytes
Versions: 1
Compression:
Stored size: 551 Bytes
Contents
module Ubiquitously module Ownable module Post def self.included(base) base.extend ClassMethods base.send :include, InstanceMethods end module ClassMethods end module InstanceMethods def agent user.agent end def username user.username_for(self) end def password user.password_for(self) end def authorize user.login(service) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ubiquitously-0.1.0 | lib/ubiquitously/models/service/post/ownable.rb |