serviceable 0.4.3 → 0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/serviceable.rb +1 -1
- metadata +4 -5
data/lib/serviceable.rb
CHANGED
@@ -85,7 +85,7 @@ module Serviceable
|
|
85
85
|
# include[user][only]=first_name,last_name
|
86
86
|
define_method("merge_options") do |options={}|
|
87
87
|
merged_options = options || {}
|
88
|
-
for key in [:only, :except, :include]
|
88
|
+
for key in [:only, :except, :include, :methods]
|
89
89
|
opts = {key => params[key]} if params[key]
|
90
90
|
merged_options = merged_options.merge(opts) if opts
|
91
91
|
end
|
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: serviceable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 1
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
|
10
|
-
version: 0.4.3
|
8
|
+
- 5
|
9
|
+
version: "0.5"
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Aubrey Goodman
|
@@ -15,7 +14,7 @@ autorequire:
|
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
16
|
|
18
|
-
date: 2013-08-
|
17
|
+
date: 2013-08-26 00:00:00 Z
|
19
18
|
dependencies: []
|
20
19
|
|
21
20
|
description: Decorate your controller classes with acts_as_service :model_name, and instantly support JSON/XML CRUD interface. Override any callback method to customize your endpoint. Allow client to specify response contents using query string filter parameters.
|