freshbooks 2.2 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/freshbooks.rb +3 -2
  2. metadata +2 -2
@@ -32,9 +32,10 @@ require 'rexml/document'
32
32
  include REXML
33
33
 
34
34
  module FreshBooks
35
- VERSION = '2.2' # Only works with 2.1
35
+ VERSION = '2.2.1' # Gem version
36
+ API_VERSION = '2.1' # FreshBooks API version
36
37
 
37
- SERVICE_URL = "/api/#{VERSION}/xml-in"
38
+ SERVICE_URL = "/api/#{API_VERSION}/xml-in"
38
39
 
39
40
  class InternalError < Exception; end;
40
41
  class AuthenticationError < Exception; end;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: freshbooks
3
3
  version: !ruby/object:Gem::Version
4
- version: "2.2"
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Vinegar
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-05-22 00:00:00 -04:00
12
+ date: 2008-06-03 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency