clio_client 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. data/.gitignore +18 -0
  2. data/Gemfile +4 -0
  3. data/LICENSE.txt +22 -0
  4. data/README.md +169 -0
  5. data/Rakefile +9 -0
  6. data/clio_client.gemspec +27 -0
  7. data/lib/clio_client/api/activity.rb +23 -0
  8. data/lib/clio_client/api/activity_description.rb +17 -0
  9. data/lib/clio_client/api/base.rb +18 -0
  10. data/lib/clio_client/api/bill.rb +23 -0
  11. data/lib/clio_client/api/calendar.rb +19 -0
  12. data/lib/clio_client/api/calendar_entry.rb +20 -0
  13. data/lib/clio_client/api/communication.rb +25 -0
  14. data/lib/clio_client/api/contact.rb +23 -0
  15. data/lib/clio_client/api/crudable.rb +25 -0
  16. data/lib/clio_client/api/custom_field.rb +19 -0
  17. data/lib/clio_client/api/custom_field_set.rb +19 -0
  18. data/lib/clio_client/api/document.rb +20 -0
  19. data/lib/clio_client/api/document_version.rb +29 -0
  20. data/lib/clio_client/api/findable.rb +16 -0
  21. data/lib/clio_client/api/group.rb +22 -0
  22. data/lib/clio_client/api/listable.rb +44 -0
  23. data/lib/clio_client/api/matter.rb +22 -0
  24. data/lib/clio_client/api/note.rb +22 -0
  25. data/lib/clio_client/api/practice_area.rb +22 -0
  26. data/lib/clio_client/api/relationship.rb +22 -0
  27. data/lib/clio_client/api/task.rb +22 -0
  28. data/lib/clio_client/api/timeline_event.rb +19 -0
  29. data/lib/clio_client/api/timer.rb +31 -0
  30. data/lib/clio_client/api/user.rb +31 -0
  31. data/lib/clio_client/authorization.rb +41 -0
  32. data/lib/clio_client/http.rb +92 -0
  33. data/lib/clio_client/models/account.rb +16 -0
  34. data/lib/clio_client/models/activity.rb +31 -0
  35. data/lib/clio_client/models/activity_description.rb +21 -0
  36. data/lib/clio_client/models/bill.rb +45 -0
  37. data/lib/clio_client/models/calendar.rb +19 -0
  38. data/lib/clio_client/models/calendar_entry.rb +32 -0
  39. data/lib/clio_client/models/communication.rb +34 -0
  40. data/lib/clio_client/models/company.rb +7 -0
  41. data/lib/clio_client/models/contact.rb +38 -0
  42. data/lib/clio_client/models/custom_field.rb +21 -0
  43. data/lib/clio_client/models/custom_field_set.rb +21 -0
  44. data/lib/clio_client/models/document.rb +33 -0
  45. data/lib/clio_client/models/document_version.rb +26 -0
  46. data/lib/clio_client/models/email_communication.rb +8 -0
  47. data/lib/clio_client/models/expense_entry.rb +9 -0
  48. data/lib/clio_client/models/group.rb +18 -0
  49. data/lib/clio_client/models/matter.rb +45 -0
  50. data/lib/clio_client/models/note.rb +23 -0
  51. data/lib/clio_client/models/person.rb +9 -0
  52. data/lib/clio_client/models/phone_communication.rb +8 -0
  53. data/lib/clio_client/models/practice_area.rb +18 -0
  54. data/lib/clio_client/models/relationship.rb +19 -0
  55. data/lib/clio_client/models/task.rb +29 -0
  56. data/lib/clio_client/models/time_entry.rb +9 -0
  57. data/lib/clio_client/models/timeline_event.rb +25 -0
  58. data/lib/clio_client/models/timer.rb +28 -0
  59. data/lib/clio_client/models/user.rb +28 -0
  60. data/lib/clio_client/resource.rb +183 -0
  61. data/lib/clio_client/session.rb +56 -0
  62. data/lib/clio_client/support/address.rb +16 -0
  63. data/lib/clio_client/support/custom_field_checkbox_value.rb +7 -0
  64. data/lib/clio_client/support/custom_field_contact_value.rb +10 -0
  65. data/lib/clio_client/support/custom_field_currency_value.rb +7 -0
  66. data/lib/clio_client/support/custom_field_date_value.rb +7 -0
  67. data/lib/clio_client/support/custom_field_email_value.rb +7 -0
  68. data/lib/clio_client/support/custom_field_matter_value.rb +9 -0
  69. data/lib/clio_client/support/custom_field_numeric_value.rb +7 -0
  70. data/lib/clio_client/support/custom_field_picklist_option.rb +13 -0
  71. data/lib/clio_client/support/custom_field_picklist_value.rb +9 -0
  72. data/lib/clio_client/support/custom_field_text_area_value.rb +7 -0
  73. data/lib/clio_client/support/custom_field_text_line_value.rb +7 -0
  74. data/lib/clio_client/support/custom_field_time_value.rb +7 -0
  75. data/lib/clio_client/support/custom_field_url_value.rb +7 -0
  76. data/lib/clio_client/support/custom_field_value.rb +13 -0
  77. data/lib/clio_client/support/email_address.rb +12 -0
  78. data/lib/clio_client/support/instant_messenger.rb +12 -0
  79. data/lib/clio_client/support/phone_number.rb +13 -0
  80. data/lib/clio_client/support/rate.rb +16 -0
  81. data/lib/clio_client/support/reminder.rb +11 -0
  82. data/lib/clio_client/support/web_site.rb +12 -0
  83. data/lib/clio_client/version.rb +3 -0
  84. data/lib/clio_client.rb +107 -0
  85. data/spec/api/crudable_spec.rb +54 -0
  86. data/spec/api/findable_spec.rb +25 -0
  87. data/spec/api/listable_spec.rb +27 -0
  88. data/spec/features/activities_spec.rb +35 -0
  89. data/spec/models/account_spec.rb +12 -0
  90. data/spec/models/activity_description_spec.rb +47 -0
  91. data/spec/models/activity_spec.rb +29 -0
  92. data/spec/models/bill_spec.rb +63 -0
  93. data/spec/models/calendar_entry_spec.rb +62 -0
  94. data/spec/models/calendar_spec.rb +20 -0
  95. data/spec/models/communication_spec.rb +39 -0
  96. data/spec/models/company_spec.rb +5 -0
  97. data/spec/models/contact_spec.rb +5 -0
  98. data/spec/models/custom_field_set_spec.rb +5 -0
  99. data/spec/models/custom_field_spec.rb +5 -0
  100. data/spec/models/document_spec.rb +5 -0
  101. data/spec/models/document_version_spec.rb +6 -0
  102. data/spec/models/email_communication_spec.rb +6 -0
  103. data/spec/models/expense_entry_spec.rb +5 -0
  104. data/spec/models/group_spec.rb +5 -0
  105. data/spec/models/matter_spec.rb +5 -0
  106. data/spec/models/note_spec.rb +5 -0
  107. data/spec/models/person_spec.rb +5 -0
  108. data/spec/models/phone_communication_spec.rb +5 -0
  109. data/spec/models/practice_area_spec.rb +5 -0
  110. data/spec/models/relationship_spec.rb +5 -0
  111. data/spec/models/resource_spec.rb +116 -0
  112. data/spec/models/task_spec.rb +5 -0
  113. data/spec/models/time_entry_spec.rb +41 -0
  114. data/spec/models/timeline_event_spec.rb +6 -0
  115. data/spec/models/timer_spec.rb +6 -0
  116. data/spec/models/user_spec.rb +5 -0
  117. data/spec/spec_helper.rb +25 -0
  118. data/spec/support/associated_resource.rb +6 -0
  119. data/spec/support/dummy_endpoint.rb +11 -0
  120. data/spec/support/inherited_resource.rb +2 -0
  121. data/spec/support/resource_examples.rb +82 -0
  122. data/spec/support/test_resource.rb +11 -0
  123. metadata +286 -0
@@ -0,0 +1,5 @@
1
+ require 'spec_helper'
2
+
3
+ describe ClioClient::Group do
4
+
5
+ end
@@ -0,0 +1,5 @@
1
+ require 'spec_helper'
2
+
3
+ describe ClioClient::Matter do
4
+
5
+ end
@@ -0,0 +1,5 @@
1
+ require 'spec_helper'
2
+
3
+ describe ClioClient::Note do
4
+
5
+ end
@@ -0,0 +1,5 @@
1
+ require 'spec_helper'
2
+
3
+ describe ClioClient::Person do
4
+
5
+ end
@@ -0,0 +1,5 @@
1
+ require 'spec_helper'
2
+
3
+ describe ClioClient::PhoneCommunication do
4
+
5
+ end
@@ -0,0 +1,5 @@
1
+ require 'spec_helper'
2
+
3
+ describe ClioClient::PracticeArea do
4
+
5
+ end
@@ -0,0 +1,5 @@
1
+ require 'spec_helper'
2
+
3
+ describe ClioClient::Relationship do
4
+
5
+ end
@@ -0,0 +1,116 @@
1
+ require 'spec_helper'
2
+
3
+ describe ClioClient::Resource do
4
+
5
+ subject { TestResource.new(params, session) }
6
+ let(:params) { {"id" => 1} }
7
+ let(:session) { double("ClioClient::Session") }
8
+ let(:api) { double("ClioClient::Api::Base") }
9
+ before { subject.stub(:api).and_return(api) }
10
+
11
+ describe "an integer field" do
12
+ let(:params) { {"int" => "1"} }
13
+
14
+ it "is converted to an integer on creation" do
15
+ expect(subject.int).to be_kind_of Fixnum
16
+ end
17
+
18
+ end
19
+
20
+ describe "a date field" do
21
+ let(:params) { {"date" => "2013-12-01"} }
22
+
23
+ it "is converted to an date on creation" do
24
+ expect(subject.date).to be_kind_of Date
25
+ end
26
+
27
+ end
28
+
29
+ describe "a datetime field" do
30
+ let(:params) { {"datetime" => "2013-12-01 00:00:00"} }
31
+
32
+ it "is converted to an datetime on creation" do
33
+ expect(subject.datetime).to be_kind_of DateTime
34
+ end
35
+
36
+ end
37
+ describe "a string field" do
38
+ let(:params) { {"string" => "Hello"} }
39
+
40
+ it "is converted to an string on creation" do
41
+ expect(subject.string).to be_kind_of String
42
+ end
43
+
44
+ end
45
+
46
+ describe "a boolean field" do
47
+ let(:params) { {"boolean" => "true"} }
48
+
49
+ it "is converted to an boolean on creation" do
50
+ expect(subject.boolean).to be_kind_of TrueClass
51
+ end
52
+
53
+ end
54
+
55
+ describe ".attributes" do
56
+ context "for an inherited record" do
57
+ it "is the same as the parent class" do
58
+ expect(InheritedResource.attributes).to eql TestResource.attributes
59
+ end
60
+ end
61
+ end
62
+
63
+ describe "#save" do
64
+ let(:to_params) { {"special" => :params} }
65
+ before { subject.stub(:to_params).and_return(to_params) }
66
+ context "when the record is new" do
67
+ let(:params) { {} }
68
+ it "makes a create call" do
69
+ api.should_receive(:create).with(to_params)
70
+ subject.save
71
+ end
72
+ end
73
+ context "when the record has an id" do
74
+ it "makes a update call" do
75
+ api.should_receive(:update).with(subject.id, to_params)
76
+ subject.save
77
+ end
78
+ end
79
+
80
+ end
81
+
82
+ describe "#reload" do
83
+
84
+ context "when the record is not saved" do
85
+ let(:params) { {} }
86
+ it "raises an exception" do
87
+ expect{subject.reload}.to raise_error ClioClient::ResourceNotSaved
88
+ end
89
+ end
90
+ context "when the record is saved" do
91
+ it "should make a find call" do
92
+ api.should_receive(:find).with(subject.id)
93
+ subject.reload
94
+ end
95
+ end
96
+
97
+ end
98
+
99
+ describe "#destroy" do
100
+
101
+ context "when the record is not saved" do
102
+ let(:params) { {} }
103
+ it "raises an exception" do
104
+ expect{subject.destroy}.to raise_error ClioClient::ResourceNotSaved
105
+ end
106
+ end
107
+ context "when the record is saved" do
108
+ it "should make a destroy call" do
109
+ api.should_receive(:destroy).with(subject.id)
110
+ subject.destroy
111
+ end
112
+ end
113
+
114
+ end
115
+
116
+ end
@@ -0,0 +1,5 @@
1
+ require 'spec_helper'
2
+
3
+ describe ClioClient::Task do
4
+
5
+ end
@@ -0,0 +1,41 @@
1
+ require 'spec_helper'
2
+
3
+ describe ClioClient::TimeEntry do
4
+
5
+ context "when initialized with the example attributes" do
6
+ let(:params) do
7
+ {
8
+ "id" => "20",
9
+ "type" => "TimeEntry",
10
+ "user" => {
11
+ "id" => "1",
12
+ "url" => "/api/v2/users/1",
13
+ "name" => "Demo User"
14
+ },
15
+ "matter" => {
16
+ "id" => "8",
17
+ "url" => "/api/v2/matters/8",
18
+ "name" => "00008-Koch, Prosacco and Stroman"
19
+ },
20
+ "activity_description" => {
21
+ "id" => "4",
22
+ "url" => "/api/v2/activity_descriptions/4",
23
+ "name" => "Discovery"
24
+ },
25
+ "communication" => nil,
26
+ "date" => "2013-01-26",
27
+ "note" => "Ea sunt quo dolorum dolore corporis ipsam culpa quis.",
28
+ "price" => "100.0",
29
+ "quantity" => "19944.0",
30
+ "total" => "554.0",
31
+ "billed" => "false",
32
+ "created_at" => "2013-12-03T23:35:37+00:00",
33
+ "updated_at" => "2013-12-03T23:35:37+00:00"
34
+ }
35
+ end
36
+
37
+ include_examples "model initialization"
38
+
39
+ end
40
+
41
+ end
@@ -0,0 +1,6 @@
1
+ require 'spec_helper'
2
+
3
+ describe ClioClient::TimelineEvent do
4
+
5
+
6
+ end
@@ -0,0 +1,6 @@
1
+ require 'spec_helper'
2
+
3
+ describe ClioClient::Timer do
4
+
5
+
6
+ end
@@ -0,0 +1,5 @@
1
+ require 'spec_helper'
2
+
3
+ describe ClioClient::User do
4
+
5
+ end
@@ -0,0 +1,25 @@
1
+ require 'clio_client'
2
+ require 'debugger'
3
+
4
+ require 'support/associated_resource'
5
+ require 'support/test_resource'
6
+ require 'support/inherited_resource'
7
+ require 'support/dummy_endpoint'
8
+ require 'support/resource_examples'
9
+
10
+ require 'rspec'
11
+ require 'rspec/core/shared_context'
12
+
13
+ module CommonLetHelpers
14
+ extend RSpec::Core::SharedContext
15
+ let(:session) { double("ClioClient::Session") }
16
+ let(:params) { {} }
17
+ let(:association_params) { {} }
18
+ let(:model) { described_class.new(params, session) }
19
+ end
20
+
21
+
22
+ RSpec.configure do |config|
23
+ config.filter_run_excluding :external => true
24
+ config.include CommonLetHelpers
25
+ end
@@ -0,0 +1,6 @@
1
+ class AssociatedResource < ClioClient::Resource
2
+
3
+ set_attributes(id: {type: :int}
4
+ )
5
+
6
+ end
@@ -0,0 +1,11 @@
1
+ class DummyEndpoint < ClioClient::Api::Base
2
+ include ClioClient::Api::Findable
3
+
4
+ def data_klass(params)
5
+ TestResource
6
+ end
7
+
8
+ def singular_resource; 'dummy'; end
9
+ def plural_resource; 'dummies'; end
10
+ def end_point_url; 'test'; end
11
+ end
@@ -0,0 +1,2 @@
1
+ class InheritedResource < TestResource
2
+ end
@@ -0,0 +1,82 @@
1
+ shared_examples "association" do
2
+
3
+ let(:nested_params) do
4
+ {"id" => 1, "name" => "name" }.merge(association_params)
5
+ end
6
+ let(:params) do
7
+ { attribute => nested_params }
8
+ end
9
+
10
+ it "should convert attributes to a clio object" do
11
+ obj = model[attribute]
12
+ expect(obj).to be_kind_of klass
13
+ nested_params.each_pair do |k, v|
14
+ expect(obj[k]).to eql v if v && k != "type"
15
+ end
16
+ end
17
+
18
+ describe "#to_params" do
19
+ it "should include the association" do
20
+ p = model.to_params
21
+ expect(p["#{attribute}_id".intern]).to eql 1
22
+ end
23
+ end
24
+
25
+ end
26
+
27
+ shared_examples "has many association" do
28
+ let(:nested_params) do
29
+ {"id" => 1, "name" => "name" }.merge(association_params)
30
+ end
31
+ let(:params) do
32
+ { attribute => [nested_params] }
33
+ end
34
+
35
+ it "should convert attributes to a clio object" do
36
+ obj = model[attribute].first
37
+ expect(obj).to be_kind_of klass
38
+ nested_params.each_pair do |k, v|
39
+ expect(obj[k]).to eql v if v && k != "type"
40
+ end
41
+ end
42
+
43
+ describe "#to_params" do
44
+ it "should include the associations" do
45
+ obj = model[attribute].first
46
+ p = obj.to_params
47
+ expect(model.to_params[attribute]).to eql [p]
48
+ end
49
+ end
50
+
51
+ end
52
+
53
+ shared_examples "model initialization" do
54
+
55
+ def check_attributes(model, attributes)
56
+ attributes.each_pair do |key, actual_value|
57
+ next if key == "url"
58
+ expected_value = model[key]
59
+ if expected_value.kind_of? ClioClient::Resource
60
+ check_attributes(expected_value, actual_value)
61
+ elsif expected_value.kind_of? Array
62
+ expected_value.zip(actual_value).each do |m, attr|
63
+ check_attributes(m, attr)
64
+ end
65
+ else
66
+ expect(expected_value.to_s).to eql(actual_value.to_s), custom_failure_message(key, expected_value, actual_value)
67
+ end
68
+ end
69
+ end
70
+
71
+ def custom_failure_message(key, e, a)
72
+ ["", " key: #{key.inspect}",
73
+ "expected: #{e.to_s.inspect}",
74
+ " got: #{a.to_s.inspect}", ""].join("\n")
75
+ end
76
+
77
+ it "should record all of the attributes and values" do
78
+ check_attributes(model, params)
79
+ end
80
+
81
+ end
82
+
@@ -0,0 +1,11 @@
1
+ class TestResource < ClioClient::Resource
2
+
3
+ set_attributes(id: {type: :int},
4
+ int: {type: :int},
5
+ date: {type: :date},
6
+ datetime: {type: :datetime},
7
+ string: {type: :string},
8
+ boolean: {type: :boolean}
9
+ )
10
+
11
+ end
metadata ADDED
@@ -0,0 +1,286 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: clio_client
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Kyle d'Oliveira
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2014-01-22 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: bundler
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '1.3'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '1.3'
30
+ - !ruby/object:Gem::Dependency
31
+ name: rake
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: debugger
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: awesome_print
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: rspec
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ description: Api client for Clio
95
+ email:
96
+ - kyle@goclio.com
97
+ executables: []
98
+ extensions: []
99
+ extra_rdoc_files: []
100
+ files:
101
+ - .gitignore
102
+ - Gemfile
103
+ - LICENSE.txt
104
+ - README.md
105
+ - Rakefile
106
+ - clio_client.gemspec
107
+ - lib/clio_client.rb
108
+ - lib/clio_client/api/activity.rb
109
+ - lib/clio_client/api/activity_description.rb
110
+ - lib/clio_client/api/base.rb
111
+ - lib/clio_client/api/bill.rb
112
+ - lib/clio_client/api/calendar.rb
113
+ - lib/clio_client/api/calendar_entry.rb
114
+ - lib/clio_client/api/communication.rb
115
+ - lib/clio_client/api/contact.rb
116
+ - lib/clio_client/api/crudable.rb
117
+ - lib/clio_client/api/custom_field.rb
118
+ - lib/clio_client/api/custom_field_set.rb
119
+ - lib/clio_client/api/document.rb
120
+ - lib/clio_client/api/document_version.rb
121
+ - lib/clio_client/api/findable.rb
122
+ - lib/clio_client/api/group.rb
123
+ - lib/clio_client/api/listable.rb
124
+ - lib/clio_client/api/matter.rb
125
+ - lib/clio_client/api/note.rb
126
+ - lib/clio_client/api/practice_area.rb
127
+ - lib/clio_client/api/relationship.rb
128
+ - lib/clio_client/api/task.rb
129
+ - lib/clio_client/api/timeline_event.rb
130
+ - lib/clio_client/api/timer.rb
131
+ - lib/clio_client/api/user.rb
132
+ - lib/clio_client/authorization.rb
133
+ - lib/clio_client/http.rb
134
+ - lib/clio_client/models/account.rb
135
+ - lib/clio_client/models/activity.rb
136
+ - lib/clio_client/models/activity_description.rb
137
+ - lib/clio_client/models/bill.rb
138
+ - lib/clio_client/models/calendar.rb
139
+ - lib/clio_client/models/calendar_entry.rb
140
+ - lib/clio_client/models/communication.rb
141
+ - lib/clio_client/models/company.rb
142
+ - lib/clio_client/models/contact.rb
143
+ - lib/clio_client/models/custom_field.rb
144
+ - lib/clio_client/models/custom_field_set.rb
145
+ - lib/clio_client/models/document.rb
146
+ - lib/clio_client/models/document_version.rb
147
+ - lib/clio_client/models/email_communication.rb
148
+ - lib/clio_client/models/expense_entry.rb
149
+ - lib/clio_client/models/group.rb
150
+ - lib/clio_client/models/matter.rb
151
+ - lib/clio_client/models/note.rb
152
+ - lib/clio_client/models/person.rb
153
+ - lib/clio_client/models/phone_communication.rb
154
+ - lib/clio_client/models/practice_area.rb
155
+ - lib/clio_client/models/relationship.rb
156
+ - lib/clio_client/models/task.rb
157
+ - lib/clio_client/models/time_entry.rb
158
+ - lib/clio_client/models/timeline_event.rb
159
+ - lib/clio_client/models/timer.rb
160
+ - lib/clio_client/models/user.rb
161
+ - lib/clio_client/resource.rb
162
+ - lib/clio_client/session.rb
163
+ - lib/clio_client/support/address.rb
164
+ - lib/clio_client/support/custom_field_checkbox_value.rb
165
+ - lib/clio_client/support/custom_field_contact_value.rb
166
+ - lib/clio_client/support/custom_field_currency_value.rb
167
+ - lib/clio_client/support/custom_field_date_value.rb
168
+ - lib/clio_client/support/custom_field_email_value.rb
169
+ - lib/clio_client/support/custom_field_matter_value.rb
170
+ - lib/clio_client/support/custom_field_numeric_value.rb
171
+ - lib/clio_client/support/custom_field_picklist_option.rb
172
+ - lib/clio_client/support/custom_field_picklist_value.rb
173
+ - lib/clio_client/support/custom_field_text_area_value.rb
174
+ - lib/clio_client/support/custom_field_text_line_value.rb
175
+ - lib/clio_client/support/custom_field_time_value.rb
176
+ - lib/clio_client/support/custom_field_url_value.rb
177
+ - lib/clio_client/support/custom_field_value.rb
178
+ - lib/clio_client/support/email_address.rb
179
+ - lib/clio_client/support/instant_messenger.rb
180
+ - lib/clio_client/support/phone_number.rb
181
+ - lib/clio_client/support/rate.rb
182
+ - lib/clio_client/support/reminder.rb
183
+ - lib/clio_client/support/web_site.rb
184
+ - lib/clio_client/version.rb
185
+ - spec/api/crudable_spec.rb
186
+ - spec/api/findable_spec.rb
187
+ - spec/api/listable_spec.rb
188
+ - spec/features/activities_spec.rb
189
+ - spec/models/account_spec.rb
190
+ - spec/models/activity_description_spec.rb
191
+ - spec/models/activity_spec.rb
192
+ - spec/models/bill_spec.rb
193
+ - spec/models/calendar_entry_spec.rb
194
+ - spec/models/calendar_spec.rb
195
+ - spec/models/communication_spec.rb
196
+ - spec/models/company_spec.rb
197
+ - spec/models/contact_spec.rb
198
+ - spec/models/custom_field_set_spec.rb
199
+ - spec/models/custom_field_spec.rb
200
+ - spec/models/document_spec.rb
201
+ - spec/models/document_version_spec.rb
202
+ - spec/models/email_communication_spec.rb
203
+ - spec/models/expense_entry_spec.rb
204
+ - spec/models/group_spec.rb
205
+ - spec/models/matter_spec.rb
206
+ - spec/models/note_spec.rb
207
+ - spec/models/person_spec.rb
208
+ - spec/models/phone_communication_spec.rb
209
+ - spec/models/practice_area_spec.rb
210
+ - spec/models/relationship_spec.rb
211
+ - spec/models/resource_spec.rb
212
+ - spec/models/task_spec.rb
213
+ - spec/models/time_entry_spec.rb
214
+ - spec/models/timeline_event_spec.rb
215
+ - spec/models/timer_spec.rb
216
+ - spec/models/user_spec.rb
217
+ - spec/spec_helper.rb
218
+ - spec/support/associated_resource.rb
219
+ - spec/support/dummy_endpoint.rb
220
+ - spec/support/inherited_resource.rb
221
+ - spec/support/resource_examples.rb
222
+ - spec/support/test_resource.rb
223
+ homepage: https://github.com/doliveirakn/clio_client
224
+ licenses:
225
+ - MIT
226
+ post_install_message:
227
+ rdoc_options: []
228
+ require_paths:
229
+ - lib
230
+ required_ruby_version: !ruby/object:Gem::Requirement
231
+ none: false
232
+ requirements:
233
+ - - ! '>='
234
+ - !ruby/object:Gem::Version
235
+ version: '0'
236
+ required_rubygems_version: !ruby/object:Gem::Requirement
237
+ none: false
238
+ requirements:
239
+ - - ! '>='
240
+ - !ruby/object:Gem::Version
241
+ version: '0'
242
+ requirements: []
243
+ rubyforge_project:
244
+ rubygems_version: 1.8.25
245
+ signing_key:
246
+ specification_version: 3
247
+ summary: A simple ruby library to interact with Clio's Api
248
+ test_files:
249
+ - spec/api/crudable_spec.rb
250
+ - spec/api/findable_spec.rb
251
+ - spec/api/listable_spec.rb
252
+ - spec/features/activities_spec.rb
253
+ - spec/models/account_spec.rb
254
+ - spec/models/activity_description_spec.rb
255
+ - spec/models/activity_spec.rb
256
+ - spec/models/bill_spec.rb
257
+ - spec/models/calendar_entry_spec.rb
258
+ - spec/models/calendar_spec.rb
259
+ - spec/models/communication_spec.rb
260
+ - spec/models/company_spec.rb
261
+ - spec/models/contact_spec.rb
262
+ - spec/models/custom_field_set_spec.rb
263
+ - spec/models/custom_field_spec.rb
264
+ - spec/models/document_spec.rb
265
+ - spec/models/document_version_spec.rb
266
+ - spec/models/email_communication_spec.rb
267
+ - spec/models/expense_entry_spec.rb
268
+ - spec/models/group_spec.rb
269
+ - spec/models/matter_spec.rb
270
+ - spec/models/note_spec.rb
271
+ - spec/models/person_spec.rb
272
+ - spec/models/phone_communication_spec.rb
273
+ - spec/models/practice_area_spec.rb
274
+ - spec/models/relationship_spec.rb
275
+ - spec/models/resource_spec.rb
276
+ - spec/models/task_spec.rb
277
+ - spec/models/time_entry_spec.rb
278
+ - spec/models/timeline_event_spec.rb
279
+ - spec/models/timer_spec.rb
280
+ - spec/models/user_spec.rb
281
+ - spec/spec_helper.rb
282
+ - spec/support/associated_resource.rb
283
+ - spec/support/dummy_endpoint.rb
284
+ - spec/support/inherited_resource.rb
285
+ - spec/support/resource_examples.rb
286
+ - spec/support/test_resource.rb