bima-shark-sdk 3.1.0 → 3.1.1

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: c940902ca2481c64fa2c9713c82fae4a654be44bf52aac78f130975109d2e2d6
4
- data.tar.gz: f9de212a3cda286061798bc1f058e1152bb3a6c36a91c26a95ed449fc6526ffe
3
+ metadata.gz: d78520920a648b39f4efce4f0f09cf03ae7c1b9ae65022311dfc8d6f7e557f82
4
+ data.tar.gz: 10d37b688c20efe9010f33e0734cbb0fbe5c45eef667c037e4614fb5e132bcd9
5
5
  SHA512:
6
- metadata.gz: dc9ee1ce1f478ba2f41df518b7bbcdd3b966d75c2a60fc19ad45d39d77eb449bb2e8e44412536b4ca353f91531d8c6198289e0b333c4ce9ff9174d09412c09e6
7
- data.tar.gz: b568b142df1967556f5771e9439ed319c87f30e46691ed6c33a9d1fede56e83a8b8867c1599cbb72ca35f9b16d724915cfac615a1cb20dcdeb07cdb9a1fc4e36
6
+ metadata.gz: 79cba1cf92c07d7f73a2344b7de0c6c70d8fe03e0722c7331adcece266d348f4976ac980ad12e3c09d3fcb47f20bbb573bb48b7ac1218353e1de031ebdd8ca63
7
+ data.tar.gz: 9f6242f47a12c9f7a9761f2eeae415d930546c76346c01390482c024afbf42cb70eb92fd8132855589d3b604bebb0936e9190555bb86e40f6dafd60e7a53b095
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  ## Changelog
2
2
 
3
+ #### 3.1.1
4
+ - Extend Shark::Configuration with `access_id` and `secret_key`
5
+
3
6
  #### 3.1.0
4
7
  - Extend `with_service_token` with `with_auth_token` which allows to send custom `Authorization` header, not only `Bearer`
5
8
 
data/bin/console CHANGED
@@ -7,17 +7,11 @@ require 'shark'
7
7
  # You can add fixtures and/or initialization code here to make experimenting
8
8
  # with your gem easier. You can also use a different console, if you like.
9
9
 
10
- # (If you use this, don't forget to add pry to your Gemfile!)
11
- # require "pry"
12
- # Pry.start
13
-
14
- # TODO
15
10
  Shark.configure do |config|
16
11
  config.contact_service.site = 'https://contactservice-development.bundesimmo.de/api/'
17
12
  config.survey_service.site = 'https://milacrm-development.bundesimmo.de/api/v1/'
18
13
  config.form_service.site = 'https://formservice-development.bundesimmo.de/api/v1/'
19
14
  config.notification_service.site = 'https://api-development.bundesimmo.de/notification-service/'
20
- config.subscription_service.site = 'https://api-development.bundesimmo.de/subscription-service/'
21
15
  end
22
16
 
23
17
  require 'irb'
@@ -53,6 +53,7 @@ module Shark
53
53
  # Shark Configuration
54
54
  #
55
55
  attr_accessor :cache, :logger
56
+ attr_accessor :access_id, :secret_key
56
57
  attr_reader :contact_service
57
58
  attr_reader :consent_service
58
59
  attr_reader :double_opt_in
data/lib/shark/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Shark
4
- VERSION = '3.1.0'
4
+ VERSION = '3.1.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bima-shark-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - bima-team@justrelate.com
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-10-31 00:00:00.000000000 Z
11
+ date: 2024-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport