wolf_core 1.0.26 → 1.0.27

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f5eacee11e0130372df32b878a83782d66062d28e71aaf96162022bbdfd263eb
4
- data.tar.gz: c8bc8ae122582cc6b5a33a973fa5ca994456c65c91d7f80414f73a4e1ec4a75b
3
+ metadata.gz: d4c428973c5098713c6a39e243dad49df7449d1225fb428543e8a8fa5497ed71
4
+ data.tar.gz: 6e5c65a6af6968c8c4f1f5c5c38112e32b5e8d95158164c566d35c7db4e35e53
5
5
  SHA512:
6
- metadata.gz: 42b1f4bfc7024abf9382bf64feea326145454c720d66b10e5e9852461ac63445f671f26045ca6fd92d4805b9075ff471b1682c85a8fd847d408cce84cbefc45e
7
- data.tar.gz: 98da5c9a9efa6c532c7e6990b30e4becaeb0e6edb8d167eef20e625ffe7c45899464262d93a441de33066b9a867832efed232476f2b38f6fa284c81e5df07339
6
+ metadata.gz: 94f191334129f7ad5ffaf4548a4c9e18ba82e9500593699d8e96d5c2a16e23bdf4877823ef89e6706303d8bc43887c50c3f9b0316fcbc4fa76d2e2095b41681e
7
+ data.tar.gz: 578084aa2bbe78870131a389cbe981813a3394b6ba237f4928b06d4bc5c13bef0356cf7f68fe114610963d5284a0e28dc1cc11b189f9f14e06ccd6d390d248ab
@@ -57,13 +57,13 @@ module WolfCore
57
57
  foreign_object
58
58
  end
59
59
 
60
- def salesforce_http_get(salesforce_access_token:, query: nil)
60
+ def salesforce_http_get(salesforce_access_token:, query: nil, validate_response: true)
61
61
  response = http_get(
62
62
  url: ENV['SALESFORCE_URL'],
63
63
  headers: { 'Authorization' => "Bearer #{salesforce_access_token}" },
64
64
  query: query
65
65
  )
66
- validate_salesforce_response(response)
66
+ validate_salesforce_response(response) if validate_response
67
67
  JSON.parse(response.parsed_response)
68
68
  end
69
69
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WolfCore
4
- VERSION = "1.0.26"
4
+ VERSION = "1.0.27"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wolf_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.26
4
+ version: 1.0.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javier Roncallo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-10-30 00:00:00.000000000 Z
11
+ date: 2024-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty