big_marker_client 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/lib/big_marker_client/base.rb +1 -1
- data/lib/big_marker_client/models/base.rb +1 -1
- data/lib/big_marker_client/models/conference.rb +11 -11
- data/lib/big_marker_client/models/registrant.rb +2 -1
- data/lib/big_marker_client/version.rb +1 -1
- data/spec/factories/big_marker/attendee.rb +1 -1
- data/spec/factories/big_marker/conference.rb +4 -3
- data/spec/factories/big_marker/registrant.rb +4 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f0e9c3583d2f470fb56fd7eca4c8c9580dddc4133050aff2a13108fb4ce5265
|
4
|
+
data.tar.gz: dad8bc5f3ce1a4010474a54e978f0c13e9a59c3e741a281ebbcb29e2e62859bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0faf222f1f0a7d4b0b71ad5df10fdc99eacf6ad5b7aac9cf3ad6b2216866c8f5583813a176428beccd3dcd40f2e4b927a1cc06f506ed527375ea936ce7aafd2
|
7
|
+
data.tar.gz: 9e026ae7af41964487508c3476c3922832f40819e5d4f47377d88ddc4654a564a26ada5a56149c0d75b05ee7d75da02ed4354ce67f275a0965bb731d4b1155d0
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
## [0.1.
|
3
|
+
## [0.1.10] - 2024-01-09
|
4
|
+
|
5
|
+
- add `presenter_exit_url` and `fb_open_graph_image_url` to conference
|
6
|
+
- add `earned_certificate` and `qualified_for_certificate` to registrant
|
7
|
+
|
8
|
+
## [0.1.9] - 2023-03-28
|
4
9
|
|
5
10
|
- add conference fields `tags`, `banner_filter_percentage`
|
6
11
|
- add attendee fields `start_time`, `coupon_used`
|
@@ -107,7 +107,7 @@ module BigMarkerClient
|
|
107
107
|
|
108
108
|
def break_on_full_metadata?(results:, result:, page:)
|
109
109
|
if !result["total_pages"].nil? && !total_count(result).nil?
|
110
|
-
return (
|
110
|
+
return (page >= result["total_pages"].to_i) || (results.length >= total_count(result).to_i)
|
111
111
|
end
|
112
112
|
|
113
113
|
false
|
@@ -5,7 +5,7 @@ module BigMarkerClient
|
|
5
5
|
return unless hash.is_a?(Hash)
|
6
6
|
|
7
7
|
known_attributes = self.class.instance_methods
|
8
|
-
hash.each { |k, v| known_attributes.include?(k.to_sym) ? send("#{k}=", v) : warn("missing property: #{k}") }
|
8
|
+
hash.each { |k, v| known_attributes.include?(k.to_sym) ? send(:"#{k}=", v) : warn("missing property: #{k}") }
|
9
9
|
end
|
10
10
|
|
11
11
|
def to_h
|
@@ -4,15 +4,15 @@ module BigMarkerClient
|
|
4
4
|
# for supported values for time_zone please compare [the documentation](https://docs.bigmarker.com/#time-zones)
|
5
5
|
class Conference < Base
|
6
6
|
attr_accessor :agenda_topics, :audience_open_time, :auto_invite_all_channel_members, :background_image_url,
|
7
|
-
:banner_filter_percentage, :channel_id, :conference_address, :
|
7
|
+
:banner_filter_percentage, :channel_id, :conference_address, :custom_event_id,
|
8
8
|
:disclaimer, :display_language, :duration_minutes, :enable_ie_safari, :enable_knock_to_enter,
|
9
9
|
:enable_registration_email, :enable_twitter, :end_time, :event_type, :exit_url,
|
10
|
-
:first_admin_enter_time, :id, :manual_end_time, :master_webinar_id,
|
11
|
-
:
|
12
|
-
:recording_iframe, :recording_url, :registration_required_to_view_recording,
|
13
|
-
:room_logo, :send_cancellation_email, :send_reminder_emails_to_presenters,
|
14
|
-
:show_reviews, :start_time, :time_zone, :title, :type, :webcast_mode,
|
15
|
-
:who_can_watch_recording,
|
10
|
+
:fb_open_graph_image_url, :first_admin_enter_time, :id, :manual_end_time, :master_webinar_id,
|
11
|
+
:max_attendance, :meeting_mode, :moderator_open_time, :poll_results, :presenter_exit_url, :privacy,
|
12
|
+
:purpose, :recorded, :recording_iframe, :recording_url, :registration_required_to_view_recording,
|
13
|
+
:review_emails, :room_logo, :send_cancellation_email, :send_reminder_emails_to_presenters,
|
14
|
+
:show_handout_on_page, :show_reviews, :start_time, :time_zone, :title, :type, :webcast_mode,
|
15
|
+
:webhook_url, :webinar_tags, :who_can_watch_recording,
|
16
16
|
## CCs seems unused?
|
17
17
|
:enable_closed_caption, :cc_original_language, :cc_display_language,
|
18
18
|
# breakout room related
|
@@ -21,10 +21,10 @@ module BigMarkerClient
|
|
21
21
|
:allow_breakout_slide, :main_room_return, :unnassigned_attendee, :unnassigned_presenter,
|
22
22
|
:breakout_room_total,
|
23
23
|
# for conference creation
|
24
|
-
:
|
25
|
-
:
|
26
|
-
:registration_conf_emails, :
|
27
|
-
:
|
24
|
+
:attendee_advanced_enter_time, :channel_admin_id, :conference_copy_id, :enable_dial_in, :icon,
|
25
|
+
:ondemand_video_url, :presenter_advanced_enter_time, :recurring_start_times,
|
26
|
+
:registration_conf_emails, :room_sub_title, :room_type, :schedule_type,
|
27
|
+
:send_notification_emails_to_presenters, :sub_url, :webinar_format,
|
28
28
|
# webhook related
|
29
29
|
:enable_create_webinar_reg_webhook, :enable_new_reg_webhook,
|
30
30
|
:enable_webinar_start_webhook, :webinar_start_webhook_url, :enable_waiting_room_open_webhook,
|
@@ -2,7 +2,8 @@ module BigMarkerClient
|
|
2
2
|
module Models
|
3
3
|
class Registrant < Base
|
4
4
|
attr_accessor :email, :first_name, :last_name, :custom_fields, :enter_url, :bmid, :referral_domain, :source,
|
5
|
-
:tracking_code, :custom_user_id, :time_zone, :country
|
5
|
+
:tracking_code, :custom_user_id, :time_zone, :country, :earned_certificate,
|
6
|
+
:qualified_for_certificate
|
6
7
|
end
|
7
8
|
end
|
8
9
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
FactoryBot.define do
|
2
2
|
factory :big_marker_attendee, class: "BigMarkerClient::Models::Attendee" do
|
3
|
-
sequence(:id)
|
3
|
+
sequence(:id) # rubocop:disable FactoryBot/IdSequence
|
4
4
|
sequence(:bmid) { SecureRandom.hex(6) }
|
5
5
|
sequence(:conference_id) { SecureRandom.hex(6) }
|
6
6
|
sequence(:email) { |n| "attendee#{n}@example.com" }
|
@@ -46,7 +46,6 @@ FactoryBot.define do
|
|
46
46
|
agenda_topics { [] }
|
47
47
|
disclaimer { "disclaimer" }
|
48
48
|
recorded { false }
|
49
|
-
recording_duration { 0 }
|
50
49
|
recording_url { nil }
|
51
50
|
recording_iframe { nil }
|
52
51
|
sequence(:sub_url) { |n| "event-#{n}" }
|
@@ -64,6 +63,8 @@ FactoryBot.define do
|
|
64
63
|
room_type { nil }
|
65
64
|
room_sub_title { nil }
|
66
65
|
ondemand_video_url { nil }
|
66
|
+
presenter_exit_url { nil }
|
67
|
+
fb_open_graph_image_url { nil }
|
67
68
|
webinar_tags { [] }
|
68
69
|
icon { nil }
|
69
70
|
dial_in_information { nil }
|
@@ -77,7 +78,7 @@ FactoryBot.define do
|
|
77
78
|
type: type, conference_copy_id: conference_copy_id, master_webinar_id: master_webinar_id,
|
78
79
|
max_attendance: max_attendance, purpose: purpose, start_time: start_time, duration_minutes: duration_minutes,
|
79
80
|
channel_id: channel_id, conference_address: conference_address, custom_event_id: custom_event_id,
|
80
|
-
banner_filter_percentage: banner_filter_percentage,
|
81
|
+
banner_filter_percentage: banner_filter_percentage, presenter_exit_url: presenter_exit_url,
|
81
82
|
webcast_mode: webcast_mode, end_time: end_time, moderator_open_time: moderator_open_time,
|
82
83
|
audience_open_time: audience_open_time, first_admin_enter_time: first_admin_enter_time,
|
83
84
|
manual_end_time: manual_end_time, privacy: privacy, exit_url: exit_url,
|
@@ -98,7 +99,7 @@ FactoryBot.define do
|
|
98
99
|
webhook_url: webhook_url, channel_admin_id: channel_admin_id, ondemand_video_url: ondemand_video_url,
|
99
100
|
room_type: room_type, room_sub_title: room_sub_title, dial_in_information: dial_in_information,
|
100
101
|
preload_files: preload_files, presenters: presenters, webinar_stats: webinar_stats,
|
101
|
-
associated_series: associated_series)
|
102
|
+
associated_series: associated_series, fb_open_graph_image_url: fb_open_graph_image_url)
|
102
103
|
end
|
103
104
|
|
104
105
|
trait :with_dial_in_information do
|
@@ -12,11 +12,14 @@ FactoryBot.define do
|
|
12
12
|
custom_user_id { nil }
|
13
13
|
time_zone { "Europe/Berlin" }
|
14
14
|
country { "Germany" }
|
15
|
+
earned_certificate { true }
|
16
|
+
qualified_for_certificate { true }
|
15
17
|
|
16
18
|
initialize_with do
|
17
19
|
new(email: email, first_name: first_name, last_name: last_name, custom_fields: custom_fields,
|
18
20
|
enter_url: enter_url, bmid: bmid, referral_domain: referral_domain, source: source,
|
19
|
-
tracking_code: tracking_code, custom_user_id: custom_user_id, time_zone: time_zone, country: country
|
21
|
+
tracking_code: tracking_code, custom_user_id: custom_user_id, time_zone: time_zone, country: country,
|
22
|
+
earned_certificate: earned_certificate, qualified_for_certificate: qualified_for_certificate)
|
20
23
|
end
|
21
24
|
end
|
22
25
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: big_marker_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Burkhard Vogel-Kreykenbohm
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
106
|
- !ruby/object:Gem::Version
|
107
107
|
version: '0'
|
108
108
|
requirements: []
|
109
|
-
rubygems_version: 3.4.
|
109
|
+
rubygems_version: 3.4.10
|
110
110
|
signing_key:
|
111
111
|
specification_version: 4
|
112
112
|
summary: simple client library to access the BigMarker API
|