familyapp_sdk 0.1.2 → 0.1.3

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: 38fb8c70ef247b276d29c91fa2c033410484dd74
4
- data.tar.gz: 405b466cddc2fc15ee2f5264d1ad8d329ccc9a6b
3
+ metadata.gz: b1edd03d312ef502f8bb8411724282e3edfb6f48
4
+ data.tar.gz: 79c127ffbf80ed1e08f234eef715892c72b97981
5
5
  SHA512:
6
- metadata.gz: 1af111e9cd46c64b3dac8447f51b6da626b4bb467ed01de649017f5d5580f485651fec42dd9e2af9d78b37884cb2a399da730644e9b9a9ac8a4a5a123a8a357e
7
- data.tar.gz: aaf8c25e269a92ff8590d4679ebffe876403a956fff4312b4678aa6c40d6a70dc1e944c282dc335f0dc5a2406564207db9b6ada77b6f82a47d6ee53e1f78742e
6
+ metadata.gz: 63bd38cd72e9680287bba7aae09115bcaf8cc54afcda410fef91ca78ff11eecd8c5dbc4f16fb49693c1f7361e51a0a39f99d8af876b267c5d170e952613d450e
7
+ data.tar.gz: f99f0dfd9957c3d23eb7ba1e5415d7ee2c4e053bfa912ed3e261f97418ce156bec8c7488250bec41c1d16bc0307497a89510a0abf3245418756f817fbf7b2a00
@@ -15,8 +15,9 @@ module FamilyappSdk
15
15
  url = "/bot_api/v1/families/#{family_id}/conversations/#{conversation_id}/messages"
16
16
  RestClient.post(
17
17
  FamilyappSdk.config.api_host + url,
18
- data,
19
- { Authorization: FamilyappSdk.config.access_token }
18
+ data.build.to_json,
19
+ { Authorization: FamilyappSdk.config.access_token,
20
+ content_type: :json }
20
21
  ) { |response, request, result| response }
21
22
  end
22
23
  end
@@ -1,3 +1,3 @@
1
1
  module FamilyappSdk
2
- VERSION = '0.1.2'.freeze
2
+ VERSION = '0.1.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: familyapp_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Familyapp API Team