wes-data-api 10.6.0 → 10.7.0

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: dc44698fd029c6dfd0fe9c9325c7fd5c364275dd
4
- data.tar.gz: e328f5a3c35ff7749c27e70e47c1986818f647c3
3
+ metadata.gz: 0f4a1f0c81c38027b0f2c9661c4bc59d75ba9c25
4
+ data.tar.gz: 5017b290344a91d286b078891f4bfd9ba7851c68
5
5
  SHA512:
6
- metadata.gz: 8dd2ec85c7a4dad61aedb11354a577d37592b017152c1047773b50847f9b46091016ad12f2b4a949f34ebbb38d6f21f0e84c74f9593bac9c52e690804dd4127e
7
- data.tar.gz: b507f0d0599a79d67978329d579c149b59f843bc7f0d479edd3cb56e08476a1364b5a47c06461debd11ea814483a1ea83f355823ec1b2217a7f6b66e9f2141d9
6
+ metadata.gz: 8a905474bf7c5bfb3a8a64014d477f2e466113cca1fa0b976af5eef1fdbe059c81bfe7a6101c76bcbdbcc31df250a806db511f62ad7d4af41693bcb733430fa3
7
+ data.tar.gz: d94dabb4f7bd39354ebcf1feda0ef94c1c6c0e39c269e3ea7ddc00272242bb0548cd1e2dfd823dc2a8c52f0963d5ec93e149b893bc7bbb5aa9da40374a6f9626
@@ -6,6 +6,10 @@ module Wes
6
6
  module API
7
7
  module Model
8
8
  class Submission < Base
9
+ def complete
10
+ update(completed: true) unless @attributes.completed
11
+ end
12
+
9
13
  def approve
10
14
  update(state: 'approved')
11
15
  end
data/lib/wes/data/api.rb CHANGED
@@ -5,7 +5,7 @@ require 'wes/data/api/configuration'
5
5
  module Wes
6
6
  module Data
7
7
  module API
8
- VERSION = '10.6.0'.freeze
8
+ VERSION = '10.7.0'.freeze
9
9
  end
10
10
  end
11
11
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wes-data-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.6.0
4
+ version: 10.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-13 00:00:00.000000000 Z
11
+ date: 2016-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler