Module: Webex
- Included in:
- Meeting::Action, Meeting::Attendee, Meeting::Presenter, Meeting::Registration, Meeting::Report, Meeting::Schedule, User::Activation, User::File, User::Partner, User::Registration, User::Report
- Defined in:
- lib/webex.rb,
lib/webex/user.rb,
lib/webex/meeting.rb,
lib/webex/version.rb,
lib/webex/user/file.rb,
lib/webex/user/report.rb,
lib/webex/error/errors.rb,
lib/webex/user/partner.rb,
lib/webex/configuration.rb,
lib/webex/meeting/action.rb,
lib/webex/meeting/report.rb,
lib/webex/user/activation.rb,
lib/webex/meeting/attendee.rb,
lib/webex/meeting/schedule.rb,
lib/webex/meeting/presenter.rb,
lib/webex/user/registration.rb,
lib/webex/meeting/registration.rb
Overview
comment
Defined Under Namespace
Modules: Meeting, User Classes: BackTypeError, Configuration, ConfigurationError, LengthError, MissingOption, PartnerError, RegistrationError, WebexError
Constant Summary collapse
- VERSION =
"0.0.3"
- CONFIGURATION =
Webex::Configuration
Instance Method Summary collapse
Instance Method Details
#env_attributes! ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/webex.rb', line 9 def env_attributes! %w( site_name webex_id password back_type back_url).each do |attribute| begin send("#{attribute}=", CONFIGURATION.send(attribute)) unless send(attribute) rescue NoMethodError next end end end |
#option_required!(*option_names) ⇒ Object
19 20 21 22 23 |
# File 'lib/webex.rb', line 19 def option_required!(*option_names) option_names.each do |option_name| raise MissingOption, %Q{option "#{option_name}" is required.} unless send(option_name) end end |