mini_fb 0.2.0 → 0.2.1

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.
Files changed (2) hide show
  1. data/lib/mini_fb.rb +2 -0
  2. metadata +3 -3
data/lib/mini_fb.rb CHANGED
@@ -19,8 +19,10 @@ module MiniFB
19
19
  end
20
20
 
21
21
  class FaceBookError < StandardError
22
+ attr_accessor :code
22
23
  # Error that happens during a facebook call.
23
24
  def initialize( error_code, error_msg )
25
+ @code = error_code
24
26
  super("Facebook error #{error_code}: #{error_msg}" )
25
27
  end
26
28
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 0
9
- version: 0.2.0
8
+ - 1
9
+ version: 0.2.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Travis Reeder
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-02-22 00:00:00 -08:00
18
+ date: 2010-02-28 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies: []
21
21