daisybill_api 0.1.3 → 0.1.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: f6514037ee9cf3c3d54d279fac5c14bae7f99db6
4
- data.tar.gz: 3fd7ebf9e368afbf88164f8d937f8f8b8e45254a
3
+ metadata.gz: b5e394aeb38a629cb30d3ac94ab4109406d42b09
4
+ data.tar.gz: de0f33281e3ba2b4e951fe09717fc06de6d6a8a1
5
5
  SHA512:
6
- metadata.gz: cd236aaf3b197a0080026b2fc3db8cde1014a8999c059c425688321180aec25f5ecb7bb2b6a6cd5a5c5ba73c0d680d3ba3a5670930119e7f34482b3df98b2105
7
- data.tar.gz: 27c4c861896ef089c814903cc652c88fc68ec5829214ef761b74a199b12d88281a0ee53170105a80b8a4687759e884f7217d9cd016e5834b6a84726269587359
6
+ metadata.gz: d69f93ad1dd13209af33dc82b37d4cf08295f5e7f2a77b0bef204254de2110d60efb05fdbbc05902c5ec5dcf3ebc2c11f11a093606abb23939ea0511afafae8c
7
+ data.tar.gz: 44d0d2cc4449be3e6b6ba58f5336ea388e972d68fa61beba88939def8354b2eeb57084842a4b2cf00355ad35520308b8a21d6c83ab45a766aff59f27b060fecc
@@ -4,6 +4,11 @@ module DaisybillApi
4
4
  rest_actions :index, :show, :create
5
5
  path_prefix '/bills', :bill_id
6
6
 
7
+ attributes(
8
+ comment: :string,
9
+ supporting_document_ids: [:integer]
10
+ )
11
+
7
12
  attributes(
8
13
  id: :integer,
9
14
  type: :string,
@@ -1,3 +1,3 @@
1
1
  module DaisybillApi
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
3
3
  end
@@ -2,7 +2,9 @@ require 'spec_helper'
2
2
 
3
3
  describe DaisybillApi::Models::BillSubmission do
4
4
  it_behaves_like DaisybillApi::Ext::Attributes, :id, :type, :mode, :bill_id,
5
- :created_at, :updated_at, claims_administrator: :model
5
+ :created_at, :updated_at, :comment, :supporting_document_ids, claims_administrator: :model
6
+
7
+ it_behaves_like DaisybillApi::Ext::Attributes::SendAs, :comment, :supporting_document_ids, :bill_id
6
8
 
7
9
  it_behaves_like DaisybillApi::Ext::CRUD, :all, :find, :create, '/bill_submissions', bill_id: '/bills'
8
10
  it_behaves_like DaisybillApi::Ext::Links, bill: DaisybillApi::Models::Bill
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daisybill_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Liscio
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-01-25 00:00:00.000000000 Z
13
+ date: 2017-01-30 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activemodel