Skip to content

Commit

Permalink
Resolve merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
vanessa-passage committed Dec 4, 2023
2 parents 74a195b + 612b07e commit 6a25cb7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1,791 deletions.
3 changes: 2 additions & 1 deletion lib/passageidentity/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
require_relative "auth"
require_relative "user_api"
require_relative "error"
require_relative "version"
require "rubygems"
require_relative "../openapi_client"

Expand Down Expand Up @@ -79,7 +80,7 @@ def create_magic_link(
begin
gemspec = File.join(__dir__, "../../passageidentity.gemspec")
spec = Gem::Specification.load(gemspec)
header_params = { "Passage-Version" => "passage-ruby #{spec.version}" }
header_params = { "Passage-Version" => "passage-ruby #{Passage::VERSION}" }
header_params["Authorization"] = "Bearer #{@api_key}" if @api_key != ""

opts = {}
Expand Down
5 changes: 5 additions & 0 deletions lib/passageidentity/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# frozen_string_literal: true

module Passage
VERSION = '0.2.3'
end
Loading

0 comments on commit 6a25cb7

Please sign in to comment.