beeiq_api 0.1.1 → 0.2.0

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: ab4104a63fc9c383558f864eb870996ed52e231b
4
- data.tar.gz: e66d5a81b0857a266e19ad47482ec98f06c23a31
3
+ metadata.gz: e5561ad5b54be2a609441cc4082accb92158af16
4
+ data.tar.gz: '08ea25da2172985f21a52435af24c0fb63430e77'
5
5
  SHA512:
6
- metadata.gz: 27709f7d52be2654ffd6fe0835e087ef32044b8bec86015277b728a99ad66b3ccfee004b386a5c4e59b1bb29af89329ecde15d3ddffbbfa207d044526a086935
7
- data.tar.gz: 243180d9f433687294907d1aca7196410ddbd61814962716c054443f4d34b911f2a1cd516cbf4edbfc691115d96e5fe1ec8c0bc3054074b57769281d0c577bae
6
+ metadata.gz: 1f566893ca5b3c30f25b72796989fff94480c1f60cb5189b93b35e01d543ff7a3169f07cc2357f2efd9e572bbe710d8221b318f3bfb78e79e4ee0c7f346dc4b3
7
+ data.tar.gz: 3a49c4d1bffbc6a7cc0bb61702d65a4a6ffe533f00e6cac8c09f8ba70537bac61c6d9c351749b556ed6339cb7ce7bba8a2249e1ff136786a3c4af5498fdc22d5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- beeiq_api (0.1.0)
4
+ beeiq_api (0.1.1)
5
5
  rest-client (~> 2.0)
6
6
 
7
7
  GEM
data/lib/beeiq_api.rb CHANGED
@@ -38,6 +38,7 @@ module BeeiqAPI
38
38
  end
39
39
 
40
40
  def create_many_contact(data = [])
41
+ create_or_update_contact(Config::ActionType::ADD_CONTACT, data)
41
42
  end
42
43
 
43
44
  def update_contact(data = {})
@@ -34,7 +34,7 @@ module BeeiqAPI
34
34
  data = {
35
35
  contactType: @contact_type,
36
36
  title: @title,
37
- body: @body,
37
+ body: @body.to_s.gsub("\n", '<br>'),
38
38
  email: @email,
39
39
  phone: @phone,
40
40
  name: @name,
@@ -1,3 +1,3 @@
1
1
  module BeeiqAPI
2
- VERSION = "0.1.1"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beeiq_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Huy Hùng
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-02-13 00:00:00.000000000 Z
11
+ date: 2019-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler