rock_rms 9.22.0 → 9.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b868a676d676b6c8a288107a255edd9df4d286410a51f9993174b2d2d1451862
4
- data.tar.gz: 8c26175643dc1f30b498db4750d16ba6d6bf5a88cf92646427dce2ed3ca126c2
3
+ metadata.gz: 43c8dc96d4fa3283621adebd53d7d760b62c7be390a546c6339746a107dc3e55
4
+ data.tar.gz: f8cf813aab3a8adcdc7bd756377eaae5d3e26634a8f090e204ed639f64983a28
5
5
  SHA512:
6
- metadata.gz: 80c97e3590205b87aa73a6afc43ed597da2bbe80593c7b3107281d8f332ec2ac1b088ad58c9e6c4f133b7ddb40cf8959806833d566e6e95c9fd805b0b29287fe
7
- data.tar.gz: 6ab8d0931bb10b7aa9b93263cf250f627b94deb87b416e2e60dcef9ed525f9f0ac646e5f60bc1dc0e3e71fec806e69805ca8d76b9e24047641e1a1e72bb1262d
6
+ metadata.gz: 43bd314739db859cacbcbdfdf3da8d5c665427beff58a25ff532e769f814699a0b6bddffd05a2a809abc8c718e1ca117c126d310378bf1e6c21351acc86dee0b
7
+ data.tar.gz: 98974459a45a23c7fea35a1833af1ca7eea809077c01d0417da763c07532b6fee20d2088bc8ddc01adb7bbf7f80dd6a26081e114dce3be5632023ca61bffdb4c
@@ -31,6 +31,8 @@ module RockRMS
31
31
  include RockRMS::Client::Group
32
32
  include RockRMS::Client::GroupMember
33
33
  include RockRMS::Client::History
34
+ include RockRMS::Client::HtmlContent
35
+ include RockRMS::Client::Lava
34
36
  include RockRMS::Client::LavaShortcode
35
37
  include RockRMS::Client::Page
36
38
  include RockRMS::Client::PaymentDetail
@@ -6,6 +6,28 @@ module RockRMS
6
6
  Response::Block.format(res)
7
7
  end
8
8
 
9
+ def create_block(
10
+ block_type_id:,
11
+ name:,
12
+ order:,
13
+ page_id:,
14
+ zone:
15
+ )
16
+ options = {
17
+ 'BlockTypeId' => block_type_id,
18
+ 'Name' => name,
19
+ 'Order' => order,
20
+ 'PageId' => page_id,
21
+ 'Zone' => zone
22
+ }
23
+
24
+ post(block_path, options)
25
+ end
26
+
27
+ def delete_block(id)
28
+ delete(block_path(id))
29
+ end
30
+
9
31
  def block_path(id = nil)
10
32
  id ? "Blocks/#{id}" : 'Blocks'
11
33
  end
@@ -0,0 +1,22 @@
1
+
2
+ module RockRMS
3
+ class Client
4
+ module HtmlContent
5
+ def create_html_content(
6
+ block_id:,
7
+ content:
8
+ )
9
+ options = {
10
+ 'BlockId' => block_id,
11
+ 'Content' => content
12
+ }
13
+
14
+ post(html_content_path, options)
15
+ end
16
+
17
+ def html_content_path(id = nil)
18
+ id ? "HtmlContents/#{id}" : 'HtmlContents'
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,9 @@
1
+ module RockRMS
2
+ class Client
3
+ module Lava
4
+ def render_template(options = {})
5
+ post('Lava/RenderTemplate', options)
6
+ end
7
+ end
8
+ end
9
+ end
@@ -4,7 +4,9 @@ module RockRMS
4
4
  MAP = {
5
5
  name: 'Name',
6
6
  block_type: 'BlockType',
7
- page_id: 'PageId'
7
+ order: 'Order',
8
+ page_id: 'PageId',
9
+ zone: 'Zone'
8
10
  }.freeze
9
11
 
10
12
  def format_single(data)
@@ -1,3 +1,3 @@
1
1
  module RockRMS
2
- VERSION = '9.22.0'.freeze
2
+ VERSION = '9.24.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rock_rms
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.22.0
4
+ version: 9.24.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taylor Brooks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-07-31 00:00:00.000000000 Z
11
+ date: 2025-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -233,6 +233,8 @@ files:
233
233
  - lib/rock_rms/resources/group.rb
234
234
  - lib/rock_rms/resources/group_member.rb
235
235
  - lib/rock_rms/resources/history.rb
236
+ - lib/rock_rms/resources/html_content.rb
237
+ - lib/rock_rms/resources/lava.rb
236
238
  - lib/rock_rms/resources/lava_shortcode.rb
237
239
  - lib/rock_rms/resources/page.rb
238
240
  - lib/rock_rms/resources/payment_detail.rb