go_to_webinar 0.2.5 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 20e96ae2144706c7d710cd56359cae66931b419d60e68b2e76d275676a41a202
4
- data.tar.gz: d9dff259f71d18c5d781f09e16207c6e81091cf05453745ea8102fea2c80df87
3
+ metadata.gz: 96f4dbd1a3e558db15ab469943b6eb1aa216c4db89fb518f306ffd78980922cc
4
+ data.tar.gz: 90df42afdc8b0cc904bd4c3617cadd108332bf97f553dbc7b080add0651a1e80
5
5
  SHA512:
6
- metadata.gz: c035b9793528e92f23e121d02751108350d0737c446b26068d5a84dcd929f973d140a45afccd1bfa7d5d979c885eb6a0850d30d0065864e51bf402a4cf7a322f
7
- data.tar.gz: 97912f8b38811b63fd06f84825a1cc4865f4b595003f9ce9581ca5bed7946f2ad3a140cc1af684d2c7aba0d790e392f97f69407c782c3d6b938ccc7b4ae95cb3
6
+ metadata.gz: d3b1ed8f5c86fc27b711198be1dbf15bedb6306d02e2e8bea21d6d422dc52f0da4bcbdfabfcc3b1f15696155a753f79cc00bf482bc3fec48f4220629611aff11
7
+ data.tar.gz: 15c1f77fc727451a29689f81eec4153da0dc8e66e11e8eb07ae96f08d5f4800662c6bfad853cfb1b18b134965662d200d370394d16b6b80d90930396a8d28655
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GoToWebinar
4
- VERSION = '0.2.5'
4
+ VERSION = '0.2.6'
5
5
  end
data/lib/go_to_webinar.rb CHANGED
@@ -12,9 +12,6 @@ require 'go_to_webinar/version'
12
12
  require 'go_to_webinar/webinar'
13
13
 
14
14
  module GoToWebinar
15
- @client ||= GoToWebinar::Client.new
16
- @configuration ||= GoToWebinar::Configuration.new
17
-
18
15
  class << self
19
16
  attr_accessor :client, :configuration
20
17
 
@@ -22,5 +19,13 @@ module GoToWebinar
22
19
  yield(configuration)
23
20
  @client = nil
24
21
  end
22
+
23
+ def client
24
+ @client ||= GoToWebinar::Client.new
25
+ end
26
+
27
+ def configuration
28
+ @configuration ||= Configuration.new
29
+ end
25
30
  end
26
31
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: go_to_webinar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danilo Jeremias da Silva