mini_fb 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mini_fb.rb +2 -0
- 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
|
-
-
|
9
|
-
version: 0.2.
|
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-
|
18
|
+
date: 2010-02-28 00:00:00 -08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|