Module: Clickmeetings::Open::WithConference

Extended by:
ActiveSupport::Concern
Included in:
Invitation, Recording, Registration, Session, Token
Defined in:
lib/clickmeetings/models/open/concerns/with_conference.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#initialize(params = {}) ⇒ Object



25
26
27
28
# File 'lib/clickmeetings/models/open/concerns/with_conference.rb', line 25

def initialize(params = {})
  super
  @conference_id ||= self.class.conference_id
end

#remote_url(action = nil, params = {}) ⇒ Object



30
31
32
# File 'lib/clickmeetings/models/open/concerns/with_conference.rb', line 30

def remote_url(action = nil, params = {})
  Conference.remote_path(:find, id: conference_id) + '/' + remote_path(action, params)
end