Skip to content

Commit

Permalink
Merge branch 'main' into test-sdk-on-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-balitskyi authored Nov 18, 2024
2 parents 6111171 + a1a621e commit 8c8f498
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
seam (2.0.0b3)
seam (2.0.0)
faraday (~> 2.7)
faraday-retry (~> 2.2)
svix (~> 1.30)
Expand Down
2 changes: 2 additions & 0 deletions lib/seam/base_resource.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# frozen_string_literal: true

require "time"
require_relative "deep_hash_accessor"

module Seam
Expand All @@ -20,6 +21,7 @@ def initialize(data, client = nil)
def update_from_response(data)
@data = data
@data.each do |key, value|
value = Seam::DeepHashAccessor.new(value) if value.is_a?(Hash)
instance_variable_set(:"@#{key}", value)
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/seam/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Seam
VERSION = "2.0.0b3"
VERSION = "2.0.0"
end

0 comments on commit 8c8f498

Please sign in to comment.