sendpulse_client 0.1.0 → 0.1.1

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
  SHA1:
3
- metadata.gz: 97e6629409be280c20ec86fdb187a9e917cefed7
4
- data.tar.gz: cad0c40227582fa35be97b5b5cc1b027735852bc
3
+ metadata.gz: a1f51b88f248d63ed27bc39ec9de95df51f51204
4
+ data.tar.gz: 48913343ad3c4f5a0b98b8ae1853a107800e20cb
5
5
  SHA512:
6
- metadata.gz: a5e038104c2de4b8d743d995991d400eccc28c2a68c18efa540def6c2e12f7f434a38d88007916609b21b5ed11d0f21cc53ae36eda98cea27fefc5a64b051eb6
7
- data.tar.gz: 6662e82bbe80bda2f1df6860c677b9c21dbd20f5e38eb80cf4d551edcf19b0ea9978dc98309c8252df762aa71f23e56890d25076b7106be84c70d2f07b5fb3c6
6
+ metadata.gz: 68279a4baff6356d5049799a559114a9396af822bd987057bbd08a662e703c67418c91982803379777602bb5a6c9cbf1b7bfe9b98dbbb6287e8bedac0cec2454
7
+ data.tar.gz: 37f91ecb9c61631fefe1ac9bd0253fbba58055e50d49c662deec05b9f42fccf225e05dc4534a7b51111b458a7ddde8fdb3b1af6a6d4d76cbc07cd3d2c9082c18
@@ -3,6 +3,7 @@ require 'sendpulse_client/version'
3
3
  require 'sendpulse_client/connection'
4
4
  require 'sendpulse_client/campaign'
5
5
  require 'sendpulse_client/addressbook'
6
+ require 'sendpulse_client/configuration'
6
7
 
7
8
  module SendpulseClient
8
9
  end
@@ -9,7 +9,7 @@ module SendpulseClient
9
9
  end
10
10
 
11
11
  class << self
12
- attr_accessor :Configuration
12
+ attr_accessor :configuration
13
13
 
14
14
  def configure
15
15
  @configuration ||= Configuration.new
@@ -14,8 +14,8 @@ module SendpulseClient
14
14
 
15
15
  def set!
16
16
  body = {
17
- client_id: configuration.client_id,
18
- client_secret: configuration.client_secret,
17
+ client_id: SendpulseClient.configuration.client_id,
18
+ client_secret: SendpulseClient.configuration.client_secret,
19
19
  grant_type: 'client_credentials'
20
20
  }
21
21
 
@@ -1,3 +1,3 @@
1
1
  module SendpulseClient
2
- VERSION = "0.1.0"
2
+ VERSION = '0.1.1'
3
3
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sendpulse_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - poctek
@@ -88,6 +88,7 @@ files:
88
88
  - lib/sendpulse_client/configuration.rb
89
89
  - lib/sendpulse_client/connection.rb
90
90
  - lib/sendpulse_client/version.rb
91
+ - sendpulse_client-0.1.0.gem
91
92
  - sendpulse_client.gemspec
92
93
  homepage: https://poctek.github.bio
93
94
  licenses: