closeio 0.0.5 → 0.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: 069b149ff2226e6c84fcd2d54a00a5cc40616bfe
4
- data.tar.gz: f0335c17ae27dae60c05028397feab3c83d9126c
3
+ metadata.gz: d4597e44264e3a124fb55d89639594a1abf7399c
4
+ data.tar.gz: 9097e5888dfef51728414ace626316808199e9bb
5
5
  SHA512:
6
- metadata.gz: 7a9e66d30abd32cfef167342a893f92af8b929c77a3ee18c00abcbd1a1f75f1824aed11705ae186ac3beb946063547cf5fc6d1a6b64187bbb9c4a5c967eb66eb
7
- data.tar.gz: 63a31f8c1fced23c38fbd357775b6b60d7d85f17e49ed96529696fcbb6cea383ac0a6ca704b2826bc6d3e280b793470a5647d2b3fb3a82c9f3fe010ed71e4989
6
+ metadata.gz: c0639c36aa6c4a8cddfe54819f885b39edaff9718b8f6e8e3fc0a7b426f6fb3d27cef33e357186c5ec660e59eef1f5be37e0520617d21e08919d957382d46109
7
+ data.tar.gz: f4c31dd0fd24ecec3b37e67cb936917e484b1dddf1befb650a6d223822e1c14ab580a424cc49ed283aef86e443024c410e599998cf2e70af77b2828e30ee6320
@@ -0,0 +1 @@
1
+ closeio-*.gem
@@ -5,4 +5,4 @@ module Closeio
5
5
  return "/activity/email/"
6
6
  end
7
7
  end
8
- end
8
+ end
@@ -17,8 +17,12 @@ module Closeio
17
17
  Closeio::EmailActivity.where lead_id: self.id
18
18
  end
19
19
 
20
+ def notes
21
+ Closeio::NoteActivity.where lead_id: self.id
22
+ end
23
+
20
24
  def contact
21
25
  self.contacts.first
22
26
  end
23
27
  end
24
- end
28
+ end
@@ -0,0 +1,8 @@
1
+ module Closeio
2
+ class NoteActivity < Base
3
+
4
+ def self.resource_path
5
+ return "/activity/note/"
6
+ end
7
+ end
8
+ end
@@ -1,3 +1,3 @@
1
1
  module Closeio
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: closeio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taylor Brooks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-04 00:00:00.000000000 Z
11
+ date: 2014-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: crack
@@ -89,6 +89,7 @@ extensions: []
89
89
  extra_rdoc_files: []
90
90
  files:
91
91
  - .document
92
+ - .gitignore
92
93
  - Gemfile
93
94
  - Gemfile.lock
94
95
  - LICENSE
@@ -102,6 +103,7 @@ files:
102
103
  - lib/closeio/email_activity.rb
103
104
  - lib/closeio/email_template.rb
104
105
  - lib/closeio/lead.rb
106
+ - lib/closeio/note_activity.rb
105
107
  - lib/closeio/organization.rb
106
108
  - lib/closeio/paginated_list.rb
107
109
  - lib/closeio/report.rb