Sha256: a3ecd7bfa06fa52e0289670603fa37b3317108d6b631b5bdbd777e4455d74817
Contents?: true
Size: 1.03 KB
Versions: 8
Compression:
Stored size: 1.03 KB
Contents
# typed: strict # frozen_string_literal: true module ShopifyAPI module Auth module Oauth class AuthQuery extend T::Sig include Utils::VerifiableQuery sig { returns(String) } attr_reader :code, :host, :hmac, :shop, :state, :timestamp sig do params( code: String, shop: String, timestamp: String, state: String, host: String, hmac: String ).void end def initialize(code:, shop:, timestamp:, state:, host:, hmac:) @code = code @shop = shop @timestamp = timestamp @state = state @host = host @hmac = hmac end sig { override.returns(String) } def to_signable_string params = { code: code, host: host, shop: shop, state: state, timestamp: timestamp, } URI.encode_www_form(params) end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems