Sha256: f73608c266b5da6e5b5ba55c8194688cc874c824c28ebb640a4099e3fce1347f

Contents?: true

Size: 366 Bytes

Versions: 5

Compression:

Stored size: 366 Bytes

Contents

begin
  require "rubygems"
  require_gem "ruby-openid", ">= 1.0"
rescue LoadError
  require "openid"
end

class OpenidAssociation < ActiveRecord::Base

  def from_record
    OpenID::Association.new(handle,
                            secret,
                            issued,
                            lifetime,
                            assoc_type)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ruby-openid-1.0.2 examples/rails_active_record_store/models/openid_association.rb
ruby-openid-1.1.2 examples/rails_active_record_store/models/openid_association.rb
ruby-openid-1.0.1 examples/rails_active_record_store/models/openid_association.rb
ruby-openid-1.1.1 examples/rails_active_record_store/models/openid_association.rb
ruby-openid-1.1.3 examples/rails_active_record_store/models/openid_association.rb