appoxy_api 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -63,7 +63,7 @@ module Appoxy
63
63
  end
64
64
 
65
65
 
66
- def send_error(statuscode_or_error, msg)
66
+ def send_error(statuscode_or_error, msg=nil)
67
67
  exc = nil
68
68
  if statuscode_or_error.is_a? Exception
69
69
  exc = statuscode_or_error
@@ -13,7 +13,7 @@ module Appoxy
13
13
  url = host + command_path
14
14
  # puts url
15
15
 
16
- user_agent = "Ruby Client"
16
+ user_agent = "Appoxy API Ruby Client"
17
17
  headers = {'User-Agent' => user_agent}
18
18
 
19
19
  if !extra_headers.nil?
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 2
9
- version: 0.0.2
8
+ - 3
9
+ version: 0.0.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Travis Reeder
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-02-21 00:00:00 -08:00
17
+ date: 2010-04-08 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency