help_scout 0.3.1 → 0.3.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
  SHA1:
3
- metadata.gz: 5b93c1378fbd6a206bb7a21c875b79e45b24e3f9
4
- data.tar.gz: 3dfb3b78fbdb83d9feb28ab002ca30baf3c87d10
3
+ metadata.gz: 1f7f7e1be3ab8b3986f219299d5b8fc293c02251
4
+ data.tar.gz: f3e0f5f1ef5af966cff8f9fd4fdbea6b3ee8d795
5
5
  SHA512:
6
- metadata.gz: 36af1bb15c616135ef3d60043f77d55ec7e5635abb4d930076d731a2fdb3602c32ac76c737c113b5726c12fb71398695f0f69981630a88a3770f6aa68125b58c
7
- data.tar.gz: 43980030470d9a1489cf95eb756d4a6fec52a68ea3f672393c3d15deb641e73436ebffaa8154d1c07c9f896c654105c747e05c05b543e383bc3ffc908d22cf58
6
+ metadata.gz: 7a68abd65cc306ef7cb1d45b269747bbebb908ae711a40839e61a112f8e15334bf76954ab7ad921474a51495e0b3df3c99784afaab6a4bbf889bb6e9d314ea77
7
+ data.tar.gz: cd284607eb85a2edccf92df2ce9ecaaa89f67844c1394fb80a6b96e647d5ad022c860b7377a39a2cd4bb90984c69e4b8b85f8aa9359517e896712ea9b5888949
data/lib/help_scout.rb CHANGED
@@ -58,10 +58,13 @@ class HelpScout
58
58
  #
59
59
  # Returns hash from HS with conversation data
60
60
  def get_conversations(mailbox_id, page = 1, modified_since = nil)
61
- options ={
62
- page: page,
63
- modifiedSince: modified_since,
61
+ options = {
62
+ query: {
63
+ page: page,
64
+ modifiedSince: modified_since,
65
+ }
64
66
  }
67
+
65
68
  get("mailboxes/#{mailbox_id}/conversations", options)
66
69
  end
67
70
 
@@ -1,3 +1,3 @@
1
1
  class HelpScout
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: help_scout
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dennis Paagman
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2016-12-19 00:00:00.000000000 Z
13
+ date: 2017-02-01 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: httparty