restpack_service 0.0.82 → 0.0.83

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fc6c2f2ade23b1396171f18642c26d30b8743d54
4
- data.tar.gz: 255e9370843502bc5ca657c36dc57712a08b7905
3
+ metadata.gz: bd15c40441c46a29b22ae74f5b95a1325c63ee98
4
+ data.tar.gz: f2a57ff886a7dd0d434ece44212b23061c4c1642
5
5
  SHA512:
6
- metadata.gz: 038bea4b32821715071d5e0c7f4d70fd6bf7e6297d2a50ec6f72e5283ec5f52b25bbc5088a6a82b091af939a96e3f88b1d8597b5672918761526af7d4e16b85a
7
- data.tar.gz: bef31256365b03b3298a6da500f86ce8adc7a2a7abe0c651c3aa982b8c92c25c0495bae4c9dce6254d55cc45228224cc3584d456b9cfca11b07ca365e0f4d52b
6
+ metadata.gz: 107c440cde310d2945830f3acc2c43f7c3122e2296c5bab7ba94730242918a2fff929760d1497c4aefdd1a7bceed663ca6d344764b149a6dbd87e40803a0edef
7
+ data.tar.gz: e1f27fae2dd42cb7dc4ae4cdae0bfdb62abf3ad12e8b96c2f5f48ad814b3b678f14c63eca50e06b2468bec051e19fb4cee7f3767d84f28fffb9b40ab9fd627f1
@@ -8,7 +8,13 @@ module RestPack::Service
8
8
  end
9
9
 
10
10
  def execute
11
- self.class.serializer_class.resource(inputs)
11
+ self.class.serializer_class.resource(inputs, scope)
12
+ end
13
+
14
+ private
15
+
16
+ def scope
17
+ self.class.model_class.all
12
18
  end
13
19
  end
14
20
  end
@@ -1,5 +1,5 @@
1
1
  module RestPack
2
2
  module Service
3
- VERSION = "0.0.82"
3
+ VERSION = "0.0.83"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restpack_service
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.82
4
+ version: 0.0.83
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gavin Joyce