Sha256: 796c70eea12065b5a7de9234c9defa54d19ee3e386a4ca0c920ccfeaed8e61aa
Contents?: true
Size: 280 Bytes
Versions: 1
Compression:
Stored size: 280 Bytes
Contents
class AccessToken attr_accessor :token, :secret, :key def initialize(attributes) attributes.each do |k, v| self.send("#{k.to_s}=", v) if self.respond_to?("#{k.to_s}=") end end def to_hash {:token => token, :secret => secret, :key => key} end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
passport-0.1.1 | lib/passport/support/object.rb |