jsend-rails 0.9.2 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,6 +9,14 @@ module JSend
9
9
  ActiveSupport::JSON.decode(body)
10
10
  end
11
11
 
12
+ def jsend_code
13
+ json['code']
14
+ end
15
+
16
+ def jsend_message
17
+ json['message']
18
+ end
19
+
12
20
  def jsend_status
13
21
  json['status']
14
22
  end
@@ -1,5 +1,5 @@
1
1
  module JSend
2
2
  module Rails
3
- VERSION = "0.9.2"
3
+ VERSION = "0.9.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: jsend-rails
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.9.2
5
+ version: 0.9.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Brian Moseley
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-05-06 00:00:00 -07:00
13
+ date: 2011-05-12 00:00:00 -07:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency