wcc-jtj-client 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wcc/jtj/client/schemas/entry.rb +7 -0
- data/lib/wcc/jtj/client/schemas/podcast.rb +17 -0
- data/lib/wcc/jtj/client/version.rb +1 -1
- data/lib/wcc/jtj/client.rb +1 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 835ccc14a2a9312be469424004cf257cd1eb4874199fb768ccd1bfdb47a3aefa
|
4
|
+
data.tar.gz: 56b6f796658eb2828836c9fb281dc089476c94e2a6495eb279a8f371a10f23f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d0832ed505ddfe1d466764cd26d75cc7f3da62213589409ef04ca1ae73fc9feae9c0a12687415a9c9714f0302fa5d8f235c6cbdc06b8cc89d82f5100a0e55f4
|
7
|
+
data.tar.gz: 7a770f814a47ae183389744a60458b454d23b5ba65416f72729e45cd5d39c13ba1b1e6e7aa8ab12e73a81241d70fa8412a6317fb600254ba1ae7ebb3981abd0a
|
@@ -40,6 +40,13 @@ module WCC::JTJ::Client::Schemas
|
|
40
40
|
end
|
41
41
|
end
|
42
42
|
|
43
|
+
def podcast
|
44
|
+
@podcast ||=
|
45
|
+
if raw['podcast']
|
46
|
+
WCC::JTJ::Client::Schemas::Podcast.new(raw['podcast'], client: @client)
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
43
50
|
def links
|
44
51
|
OpenStruct.new(raw['links']) if raw['links']
|
45
52
|
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative '../utils'
|
4
|
+
|
5
|
+
module WCC::JTJ::Client::Schemas
|
6
|
+
class Podcast < Base
|
7
|
+
define_camelcase_alias(
|
8
|
+
'promo_text'
|
9
|
+
) do |camelcase|
|
10
|
+
raw[camelcase]
|
11
|
+
end
|
12
|
+
|
13
|
+
def links
|
14
|
+
OpenStruct.new(raw['links']) if raw['links']
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
data/lib/wcc/jtj/client.rb
CHANGED
@@ -12,6 +12,7 @@ require_relative './client/schemas/curriculum_summary'
|
|
12
12
|
require_relative './client/schemas/entry_summary'
|
13
13
|
require_relative './client/schemas/entry'
|
14
14
|
require_relative './client/schemas/scripture'
|
15
|
+
require_relative './client/schemas/podcast'
|
15
16
|
require_relative './client/schemas/writer'
|
16
17
|
require_relative './client/schemas/memory_verse_summary'
|
17
18
|
require_relative './client/schemas/memory_verse'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wcc-jtj-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Watermark Dev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -52,6 +52,7 @@ files:
|
|
52
52
|
- lib/wcc/jtj/client/schemas/entry_summary.rb
|
53
53
|
- lib/wcc/jtj/client/schemas/memory_verse.rb
|
54
54
|
- lib/wcc/jtj/client/schemas/memory_verse_summary.rb
|
55
|
+
- lib/wcc/jtj/client/schemas/podcast.rb
|
55
56
|
- lib/wcc/jtj/client/schemas/schema_validation_error.rb
|
56
57
|
- lib/wcc/jtj/client/schemas/scripture.rb
|
57
58
|
- lib/wcc/jtj/client/schemas/writer.rb
|
@@ -77,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
78
|
- !ruby/object:Gem::Version
|
78
79
|
version: '0'
|
79
80
|
requirements: []
|
80
|
-
rubygems_version: 3.
|
81
|
+
rubygems_version: 3.3.22
|
81
82
|
signing_key:
|
82
83
|
specification_version: 4
|
83
84
|
summary: Internal Watermark.org gem, not licensed for external use.
|