sirportly 1.4.1 → 1.4.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: 1f3208ce00e77a451326f543ab412f64faf60461
4
- data.tar.gz: a9b1272d7b0bd87eaf53fa7b9666cc197a482e6f
3
+ metadata.gz: f3f7c88e6ffda0f971f21d05c86915bc57fec6eb
4
+ data.tar.gz: f20a7ac4d2e7b7cb38ca8f379cead577903e5d27
5
5
  SHA512:
6
- metadata.gz: a06999302d78011b1b6eabb68a77fed79a7a0d657196c812ebc4dc3f3ce0e548a71d250d8d398463dd0bb90b56a987638ae3fdc96919b8289a211230bd41e4a0
7
- data.tar.gz: 503f6d1fcbe164c645361609c92fdf645df2c2f61515584a0cc6423cf34cddebce9977f6cbabaad08cb4f6b62c8b67aaa700576e696a5d688f3b2bf9e2294bdc
6
+ metadata.gz: ecacd1dd1c627af80f875020d3bdda4cbedeba721dc9997c87485b03a33bf3a0c0e22ad448385be25cbb9ae01700b0207ce06b5cb4477b4a53898ec449646dc5
7
+ data.tar.gz: 7077b0121b5b1ae8494af2367ecabd90cf27e69546115765a0f6c694b6ebfcccabee7cdc07d3f2ec3f0aa0a9caba51ca898cf7caf22bcae1776263eff7a16d5e
@@ -19,6 +19,7 @@ require 'sirportly/data_objects/customer_contact_method'
19
19
  require 'sirportly/data_objects/custom_field'
20
20
  require 'sirportly/data_objects/department'
21
21
  require 'sirportly/data_objects/escalation_path'
22
+ require 'sirportly/data_objects/facebook_page'
22
23
  require 'sirportly/data_objects/filter'
23
24
  require 'sirportly/data_objects/knowledge_base'
24
25
  require 'sirportly/data_objects/knowledge_base_page'
@@ -28,10 +29,11 @@ require 'sirportly/data_objects/status'
28
29
  require 'sirportly/data_objects/team'
29
30
  require 'sirportly/data_objects/ticket'
30
31
  require 'sirportly/data_objects/ticket_update'
32
+ require 'sirportly/data_objects/twitter_account'
31
33
  require 'sirportly/data_objects/user'
32
34
 
33
35
  module Sirportly
34
- VERSION = '1.4.1'
36
+ VERSION = '1.4.2'
35
37
 
36
38
  class << self
37
39
 
@@ -131,6 +131,14 @@ module Sirportly
131
131
  Ticket.contact(self, params)
132
132
  end
133
133
 
134
+ def twitter_accounts(params = {})
135
+ TwitterAccount.all(self, params)
136
+ end
137
+
138
+ def facebook_pages(params = {})
139
+ FacebookPage.all(self, params)
140
+ end
141
+
134
142
  ## Enable or disable ticket mode for the token's account
135
143
  def import_mode(status = nil)
136
144
  hash = {}
@@ -0,0 +1,5 @@
1
+ module Sirportly
2
+ class FacebookPage < DataObject
3
+ self.collection_path = 'objects/facebook_pages'
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ module Sirportly
2
+ class TwitterAccount < DataObject
3
+ self.collection_path = 'objects/twitter_accounts'
4
+ end
5
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sirportly
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Cooke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-24 00:00:00.000000000 Z
11
+ date: 2016-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multipart-post
@@ -40,6 +40,7 @@ files:
40
40
  - lib/sirportly/data_objects/customer_contact_method.rb
41
41
  - lib/sirportly/data_objects/department.rb
42
42
  - lib/sirportly/data_objects/escalation_path.rb
43
+ - lib/sirportly/data_objects/facebook_page.rb
43
44
  - lib/sirportly/data_objects/filter.rb
44
45
  - lib/sirportly/data_objects/knowledge_base.rb
45
46
  - lib/sirportly/data_objects/knowledge_base_page.rb
@@ -49,6 +50,7 @@ files:
49
50
  - lib/sirportly/data_objects/team.rb
50
51
  - lib/sirportly/data_objects/ticket.rb
51
52
  - lib/sirportly/data_objects/ticket_update.rb
53
+ - lib/sirportly/data_objects/twitter_account.rb
52
54
  - lib/sirportly/data_objects/user.rb
53
55
  - lib/sirportly/data_set.rb
54
56
  - lib/sirportly/extensions.rb