restpack_account_service 0.0.3 → 0.0.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1bc43eb7e8751ef8c97bb4cd50943616524c1e64
|
4
|
+
data.tar.gz: 072c107cd0b80fd82a9332a5b72e91266f7fa86d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea2c3eeb8f36290e5a144255010e1ef218ba159f264db54e597dcd8fdb0de46f2b472f342678d5ffe84649ce80bddec0b1355d7e5b52ee9d4335f53923ec128a
|
7
|
+
data.tar.gz: 94a76cc6f9afdbcbb07961a2ce61f81562d86a639ca6fc944c3ae4dd6f751d89fdf49b7d5c5f1634050164e8e1c9cf7ccca2d83617bda1b3a521b9d036149b69
|
@@ -7,9 +7,7 @@ module RestPack::Account::Service::Commands
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def execute
|
10
|
-
|
11
|
-
scope = scope.where(application_id: application_id)
|
12
|
-
result = Serializers::Account.resource(inputs, scope)
|
10
|
+
result = Serializers::Account.resource(inputs)
|
13
11
|
|
14
12
|
if result[:accounts].empty?
|
15
13
|
status :not_found
|
@@ -1,2 +1,2 @@
|
|
1
1
|
require 'restpack_service'
|
2
|
-
RestPack::Service::Loader.load 'account'
|
2
|
+
RestPack::Service::Loader.load 'account'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: restpack_account_service
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gavin Joyce
|
@@ -172,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
172
172
|
version: '0'
|
173
173
|
requirements: []
|
174
174
|
rubyforge_project:
|
175
|
-
rubygems_version: 2.0.
|
175
|
+
rubygems_version: 2.0.7
|
176
176
|
signing_key:
|
177
177
|
specification_version: 4
|
178
178
|
summary: Accounts
|