stbaldricks 6.4.0.alpha.1 → 6.4.0.alpha.2

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
  SHA256:
3
- metadata.gz: 432f9e157944ba71f248ac69b104f93dad86eb03dadd0823e9dfd1864b5d7320
4
- data.tar.gz: e8fb913e51855285785ee5e36d478bb8a1734c0bb85151f3cd64cbe3cf61ada0
3
+ metadata.gz: b9240be7d70c1a16d819ece9a810f9870d72e385f0458ccab301bc9b8da41f33
4
+ data.tar.gz: 6c0353da7f1aa7e88afe6e150edc9c7ab1beee99b8af9315240f926f54e496a0
5
5
  SHA512:
6
- metadata.gz: cb006403401309976dde0165378a00facd9fd6495fee5a8524a04c953751cdcc16982de7284f896b14af1ccfa10e781675c9805dc3f25dff3842e8df3fb46847
7
- data.tar.gz: 929727f4168b9562159bf506d7425daa700d6897c628b9a0b275f41cde7a9de84b9fa223ddd0569f7d583abe0067b1277cb5161d90fa85059b48d205ea5685d9
6
+ metadata.gz: ce72a8eed9035290bc2acba186a50eeac153eab207c44fac7a256c01fa7499ed102cbf0ff9bd33620453632b69cdca1a7243455a7867b043c8319513e8684f42
7
+ data.tar.gz: 2fc680de2f1f51c020f82da01a3cfa9ca6b8b95ef47c0174cafe52453448971e54ff9e40cfeebef01425399e1cccefd6131732177ae502506f128afeb61b3903
@@ -3,12 +3,20 @@ require 'stbaldricks/entities/lib/address'
3
3
 
4
4
  module SBF
5
5
  module Client
6
- class PartialInstitution < SBF::Client::BaseEntity
6
+ class Institution < SBF::Client::TopLevelEntity
7
+ include Entities::DefaultCacheable
8
+ actions DEFAULT_CRUD_ACTIONS
9
+ blacklist_action :aggregate
10
+ blacklist_action :create
11
+ blacklist_action :update
12
+ blacklist_action :delete
13
+
7
14
  attr_accessor :id
8
15
  end
9
16
 
10
- class FullInstitution < SBF::Client::BaseEntity
11
- attr_accessor :id
17
+ class PartialInstitution < SBF::Client::Institution; end
18
+
19
+ class FullInstitution < SBF::Client::Institution
12
20
  attr_accessor :name
13
21
  entity_attr_accessor :address, 'SBF::Client::Address'
14
22
  attr_reader :created_at
@@ -173,7 +173,7 @@ module SBF
173
173
  entity_attr_accessor :guardian, 'SBF::Client::Guardian'
174
174
  entity_collection_attr_accessor :relationships, 'SBF::Client::Kid::Relationship'
175
175
  entity_collection_attr_accessor :urls, 'SBF::Client::KidURL'
176
- entity_collection_attr_reader :custom_institutions, 'SBF::Client::Kid::CustomInstitution', nil, true
176
+ entity_collection_attr_accessor :custom_institutions, 'SBF::Client::Kid::CustomInstitution', nil, true
177
177
  entity_attr_accessor :third_party_media, 'SBF::Client::ThirdPartyMedia', nil, true
178
178
 
179
179
  attr_accessor :created_at
@@ -1,5 +1,5 @@
1
1
  module SBF
2
2
  module Client
3
- VERSION = '6.4.0.alpha.1'
3
+ VERSION = '6.4.0.alpha.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stbaldricks
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.4.0.alpha.1
4
+ version: 6.4.0.alpha.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Firespring
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-06 00:00:00.000000000 Z
11
+ date: 2018-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel