Sha256: e05b8639bfb94cb4339b029c817e9aa27970b5f036d987162dd9ce618b652ed9
Contents?: true
Size: 650 Bytes
Versions: 31
Compression:
Stored size: 650 Bytes
Contents
# typed: strict # frozen_string_literal: true module ShopifyAPI module Auth module Oauth class SessionCookie < T::Struct extend T::Sig SESSION_COOKIE_NAME = "shopify_app_session" const :name, String, default: SESSION_COOKIE_NAME const :value, String const :expires, T.nilable(Time) alias_method :eql?, :== sig { params(other: T.nilable(SessionCookie)).returns(T::Boolean) } def ==(other) return false unless other name == other.name && value == other.value && expires == other.expires end end end end end
Version data entries
31 entries across 31 versions & 1 rubygems