batchly_api 0.5.1 → 0.5.2

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: d08dfe84b746f0abd7eb08f51cb0291e3a8ce4c8
4
- data.tar.gz: fa67cd56b55a42895a6c8de0cac601f505ec73e0
3
+ metadata.gz: 175821d2a864e68896b9fc66eccb3995d5e106fd
4
+ data.tar.gz: dc5ef3dcef932bbd798016487615862d685c56cd
5
5
  SHA512:
6
- metadata.gz: 5df14041efbe3416f277f01a56e740f513ef0625c06f78db2c7c7036922676b0f47fa18fec80047f1734a7edf1fb52b903ebfaafa2e81e0fcbc70a071ec6eeb3
7
- data.tar.gz: 303a3eea99259aa0f7eb9b1921c89bb939fadfe31ff2bbdb90984fa03251f42b3ec0e6bf95cb0e59142ae700e2b515ca0d179e7b2e176c2062183725a20464b7
6
+ metadata.gz: 634ac43cd255741a80125444b1212f39bc3bb1ba654843a53a787ab04cfd69eebdf274c2fa8f80da999caba94d65f41123a686a5756467363c0ab8a7065c456f
7
+ data.tar.gz: 6b7f36f47e97f29f10673c51b5bcaa1ba591ed81cd322206593ea84e73ab2c0020dc70100090937e0a56d0cb044a70ea15ccb19e3ca1c2d76bb71400463524ac
@@ -15,7 +15,8 @@ module BatchlyApi
15
15
  # create the getters and setters
16
16
  class << self
17
17
  attr_accessor :BASE_URI
18
-
18
+ attr_accessor :API_KEY
19
+ attr_accessor :API_SECRET
19
20
  end
20
21
  end
21
22
  end
@@ -23,7 +23,8 @@ module BatchlyApi
23
23
 
24
24
  # Appends the necessary OAuth credentials for making this authorized call
25
25
  # @param [Hash] The out going request to access the resource
26
- def self.append_custom_auth_params(parsed_url, method, headers)
26
+ def self.append_custom_auth_params(url, method, headers)
27
+ parsed_url = URI.parse(url)
27
28
  apiKey = Configuration.API_KEY.dup
28
29
  apiSecret = Configuration.API_SECRET.dup
29
30
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: batchly_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - batchly api support
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-11-18 00:00:00.000000000 Z
12
+ date: 2015-11-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: unirest
@@ -31,7 +31,7 @@ dependencies:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: 1.1.2
34
- description: This API SDK was automatically generated by APIMATIC Beta 2.0
34
+ description: API SDK for the batchly data processing system.
35
35
  email: support@batchly.net
36
36
  executables: []
37
37
  extensions: []