Sha256: c23f8ccd9b25b1b20eccf48d81cf069d2e9ff4d88f8ba21429b8c4fc064264d4

Contents?: true

Size: 281 Bytes

Versions: 2

Compression:

Stored size: 281 Bytes

Contents

module OpenID
  module Store
    class Sequel
      class Association < ::Sequel::Model(:open_id_associations)
        def from_record
          OpenID::Association.new(handle, Base64.decode64(secret), Time.at(issued), lifetime, assoc_type)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openid-store-sequel-0.0.2 lib/openid/store/sequel/association.rb
openid-store-sequel-0.0.1 lib/openid/store/sequel/association.rb