wrapi 0.1.1 → 0.1.2

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: 98ca96c390b3ef729370d1237e095eb1436c326d4acd16600e3343f96f7499b9
4
- data.tar.gz: cf29c70d73b05dfb7dac0e9d4e1098bbf573b76f9f19de1259c4b9a0f1835897
3
+ metadata.gz: ff558eb0e62fb544d7beadc13a7c0c87379b782b08ddc2965fb8bf2a72bd5949
4
+ data.tar.gz: c3de6d2a2ffafdfaf924ebb7ad56bc4773eaff7892ed2e974a44456b43dd4a9d
5
5
  SHA512:
6
- metadata.gz: 95c0e427ccdb8f4a1a9147e15122bbba3891556149bd1431c2668cce3038537e5f921b943a42636786aa795aecc1fdfe220ed0ed337f74e8066cd634cc9f2ec9
7
- data.tar.gz: c3f42e63e01ba136bb47a71cf396b4a1f34ca3c39d8c26c86018bfa880d60f624bc8a1e1d8aa8dfbe01ae001c98341445501d71ed90a4e2f439675cd41749731
6
+ metadata.gz: 6c2b08f4aecd91f74d2f01939d95c712899b9b03c38bd5b5e01763b43143ea9754e2353916c64e4fdf159a9069fbf3e48310685a195ef050a4913e8f2a58dbac
7
+ data.tar.gz: 26e5aa20ded0ed3701515afb906859121a9d6f4ba2ee978828918785c39c8216153a35420cdd163617d7734f1c2f612c554a89559613ad81c6ec4f1d455c54c1
@@ -67,6 +67,7 @@ module WrAPI
67
67
  self.client_secret = nil
68
68
  self.username = nil
69
69
  self.password = nil
70
+ self.endpoint = nil
70
71
 
71
72
  self.logger = nil
72
73
  self.connection_options = DEFAULT_CONNECTION_OPTIONS
@@ -10,7 +10,7 @@ module WrAPI
10
10
  private
11
11
 
12
12
  def connection
13
- raise! ArgumentError, "Option for endpoint is not defined" unless endpoint
13
+ raise ArgumentError, "Option for endpoint is not defined" unless endpoint
14
14
 
15
15
  options = setup_options
16
16
  Faraday::Connection.new(options) do |connection|
data/lib/wrapi/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WrAPI
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wrapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Janco Tanis