Sha256: 70815525e15c6611d5f80e28be991a2250efb4521b4bc1aca1197f817fc34a52
Contents?: true
Size: 393 Bytes
Versions: 1
Compression:
Stored size: 393 Bytes
Contents
module RestPack::Account::Service::Commands module Account class Get < RestPack::Service::Command required do integer :id integer :application_id end def execute result = Serializers::Account.resource(inputs) if result[:accounts].empty? status :not_found else result end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
restpack_account_service-0.0.4 | lib/restpack_account_service/commands/account/get.rb |