constructorio 2.0.5 → 2.0.6

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
  SHA1:
3
- metadata.gz: fe604fd3ac7fe08978e0e68596eb3af0c2bd4a8f
4
- data.tar.gz: 3526b15c3f1483066d1dac2347896677934cb8b2
3
+ metadata.gz: f892a807c2f4bfae0d0bfaf8f46036aedf2cb80d
4
+ data.tar.gz: ceba0bafea8234cad7fc5819cb55774040df27a2
5
5
  SHA512:
6
- metadata.gz: ed8737caf068e6702d17e00312e3d241aba25aabc815fec4340e5846593c52b39b7505e6b39a4c74a4ea6b703529d8fe63c7b8f2e134fbf7ff4abaf681c4c8b7
7
- data.tar.gz: f16564a17ae4a5b5ebd458bf7bb84aca329d14fd0ae6e44706abcc7e142a6b96fa6fabd85b01e26735a650c0fdc7a9a01a9ac03ba995c9621a24bcc61cea7f24
6
+ metadata.gz: ff79dd32d5a3ea0b6a4a99ccf52fe9ec6b94f7c75fafabfdeeffe396f09ca2ee5db8936460f6956ced415475e160f8e92247bdc447ec3d0cb3c60cecc323e1d8
7
+ data.tar.gz: 1e07887af2e0a65457e15444793d66bda79f8186483556045907072bd2508aabdddc7f2e718753e485acc91661581f2e7a6f50d4a0a38052864be4c3ab7075a3
@@ -8,7 +8,7 @@ module ConstructorIO
8
8
  def initialize(config = nil)
9
9
  @local_configuration = config || ConstructorIO::Configuration.new(
10
10
  api_token: ConstructorIO.configuration.api_token,
11
- api_url: ConstructorIO.configuration.api_url || "https://ac.cnstrc.com/",
11
+ api_url: ConstructorIO.configuration.api_url,
12
12
  autocomplete_key: ConstructorIO.configuration.autocomplete_key
13
13
  )
14
14
  end
@@ -41,6 +41,10 @@ module ConstructorIO
41
41
  call_api("verify", "get")
42
42
  end
43
43
 
44
+ def batch_items(params)
45
+ call_api("batch_items", "post", params)
46
+ end
47
+
44
48
  private
45
49
 
46
50
  def call_api(path, method, params = {})
@@ -1,3 +1,3 @@
1
1
  module ConstructorIO
2
- VERSION = "2.0.5"
2
+ VERSION = "2.0.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: constructorio
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.5
4
+ version: 2.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan McCormick
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-16 00:00:00.000000000 Z
11
+ date: 2016-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday