freeagentrb 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +7 -0
  2. data/.env.example +1 -0
  3. data/Gemfile +9 -0
  4. data/Gemfile.lock +51 -0
  5. data/LICENSE.txt +21 -0
  6. data/README.md +34 -0
  7. data/Rakefile +4 -0
  8. data/bin/console +22 -0
  9. data/bin/setup +8 -0
  10. data/freeagentrb.gemspec +34 -0
  11. data/lib/free_agent/client.rb +100 -0
  12. data/lib/free_agent/collection.rb +27 -0
  13. data/lib/free_agent/error.rb +4 -0
  14. data/lib/free_agent/object.rb +25 -0
  15. data/lib/free_agent/objects/attachment.rb +4 -0
  16. data/lib/free_agent/objects/bank_account.rb +4 -0
  17. data/lib/free_agent/objects/bank_transaction.rb +4 -0
  18. data/lib/free_agent/objects/bank_transaction_explanation.rb +4 -0
  19. data/lib/free_agent/objects/bill.rb +4 -0
  20. data/lib/free_agent/objects/company.rb +4 -0
  21. data/lib/free_agent/objects/contact.rb +4 -0
  22. data/lib/free_agent/objects/credit_note.rb +4 -0
  23. data/lib/free_agent/objects/estimate.rb +4 -0
  24. data/lib/free_agent/objects/estimate_item.rb +4 -0
  25. data/lib/free_agent/objects/invoice.rb +4 -0
  26. data/lib/free_agent/objects/project.rb +4 -0
  27. data/lib/free_agent/objects/task.rb +4 -0
  28. data/lib/free_agent/objects/timeslip.rb +4 -0
  29. data/lib/free_agent/objects/user.rb +4 -0
  30. data/lib/free_agent/resource.rb +60 -0
  31. data/lib/free_agent/resources/attachments.rb +15 -0
  32. data/lib/free_agent/resources/bank_accounts.rb +33 -0
  33. data/lib/free_agent/resources/bank_transaction_explanations.rb +29 -0
  34. data/lib/free_agent/resources/bank_transactions.rb +37 -0
  35. data/lib/free_agent/resources/bills.rb +42 -0
  36. data/lib/free_agent/resources/company.rb +10 -0
  37. data/lib/free_agent/resources/contacts.rb +32 -0
  38. data/lib/free_agent/resources/credit_notes.rb +74 -0
  39. data/lib/free_agent/resources/estimate_items.rb +22 -0
  40. data/lib/free_agent/resources/estimates.rb +79 -0
  41. data/lib/free_agent/resources/invoices.rb +89 -0
  42. data/lib/free_agent/resources/projects.rb +37 -0
  43. data/lib/free_agent/resources/tasks.rb +37 -0
  44. data/lib/free_agent/resources/timeslips.rb +47 -0
  45. data/lib/free_agent/resources/users.rb +42 -0
  46. data/lib/free_agent/version.rb +3 -0
  47. data/lib/free_agent.rb +48 -0
  48. data/lib/freeagentrb.rb +1 -0
  49. metadata +133 -0
metadata ADDED
@@ -0,0 +1,133 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: freeagentrb
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Dean Perry
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2022-01-09 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: faraday
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.7'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.7'
27
+ - !ruby/object:Gem::Dependency
28
+ name: faraday_middleware
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.1'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.1'
41
+ - !ruby/object:Gem::Dependency
42
+ name: faraday-multipart
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.0'
55
+ description:
56
+ email:
57
+ - dean@deanpcmad.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - ".env.example"
63
+ - Gemfile
64
+ - Gemfile.lock
65
+ - LICENSE.txt
66
+ - README.md
67
+ - Rakefile
68
+ - bin/console
69
+ - bin/setup
70
+ - freeagentrb.gemspec
71
+ - lib/free_agent.rb
72
+ - lib/free_agent/client.rb
73
+ - lib/free_agent/collection.rb
74
+ - lib/free_agent/error.rb
75
+ - lib/free_agent/object.rb
76
+ - lib/free_agent/objects/attachment.rb
77
+ - lib/free_agent/objects/bank_account.rb
78
+ - lib/free_agent/objects/bank_transaction.rb
79
+ - lib/free_agent/objects/bank_transaction_explanation.rb
80
+ - lib/free_agent/objects/bill.rb
81
+ - lib/free_agent/objects/company.rb
82
+ - lib/free_agent/objects/contact.rb
83
+ - lib/free_agent/objects/credit_note.rb
84
+ - lib/free_agent/objects/estimate.rb
85
+ - lib/free_agent/objects/estimate_item.rb
86
+ - lib/free_agent/objects/invoice.rb
87
+ - lib/free_agent/objects/project.rb
88
+ - lib/free_agent/objects/task.rb
89
+ - lib/free_agent/objects/timeslip.rb
90
+ - lib/free_agent/objects/user.rb
91
+ - lib/free_agent/resource.rb
92
+ - lib/free_agent/resources/attachments.rb
93
+ - lib/free_agent/resources/bank_accounts.rb
94
+ - lib/free_agent/resources/bank_transaction_explanations.rb
95
+ - lib/free_agent/resources/bank_transactions.rb
96
+ - lib/free_agent/resources/bills.rb
97
+ - lib/free_agent/resources/company.rb
98
+ - lib/free_agent/resources/contacts.rb
99
+ - lib/free_agent/resources/credit_notes.rb
100
+ - lib/free_agent/resources/estimate_items.rb
101
+ - lib/free_agent/resources/estimates.rb
102
+ - lib/free_agent/resources/invoices.rb
103
+ - lib/free_agent/resources/projects.rb
104
+ - lib/free_agent/resources/tasks.rb
105
+ - lib/free_agent/resources/timeslips.rb
106
+ - lib/free_agent/resources/users.rb
107
+ - lib/free_agent/version.rb
108
+ - lib/freeagentrb.rb
109
+ homepage: https://deanpcmad.com
110
+ licenses:
111
+ - MIT
112
+ metadata:
113
+ homepage_uri: https://deanpcmad.com
114
+ post_install_message:
115
+ rdoc_options: []
116
+ require_paths:
117
+ - lib
118
+ required_ruby_version: !ruby/object:Gem::Requirement
119
+ requirements:
120
+ - - ">="
121
+ - !ruby/object:Gem::Version
122
+ version: 2.6.0
123
+ required_rubygems_version: !ruby/object:Gem::Requirement
124
+ requirements:
125
+ - - ">="
126
+ - !ruby/object:Gem::Version
127
+ version: '0'
128
+ requirements: []
129
+ rubygems_version: 3.1.6
130
+ signing_key:
131
+ specification_version: 4
132
+ summary: A Ruby library for interacting with the FreeAgent v2 API
133
+ test_files: []