Sha256: dbb6bebb722fd1835ef3b6b56c891ff54450540c85abae743476174d6cf3fbf4

Contents?: true

Size: 692 Bytes

Versions: 65

Compression:

Stored size: 692 Bytes

Contents

require "fsr/app"
module FSR
  module App
    class Conference < Application
      attr_reader :target, :profile

      def initialize(conference_name, conference_profile = nil)
        # These are options that will precede the target address
        @target = conference_name
        @profile = conference_profile || "ultrawideband"
      end

      def arguments
        ["%s@%s" % [@target, @profile]]
      end

      def self.execute(conference_name, conference_profile = nil)
        self.new(conference_name, conference_profile).raw
      end

      def self.[](conference_name)
        self.execute(conference_name)
      end
    end

    register(:conference, Conference)
  end
end

Version data entries

65 entries across 65 versions & 3 rubygems

Version Path
bougyman-freeswitcher-0.0.9 lib/fsr/app/conference.rb
bougyman-freeswitcher-0.1.0 lib/fsr/app/conference.rb
bougyman-freeswitcher-0.1.1 lib/fsr/app/conference.rb
bougyman-freeswitcher-0.1.2 lib/fsr/app/conference.rb
bougyman-freeswitcher-0.1.3 lib/fsr/app/conference.rb
bougyman-freeswitcher-0.1.4 lib/fsr/app/conference.rb
bougyman-freeswitcher-0.3.0 lib/fsr/app/conference.rb
bougyman-freeswitcher-0.3.1 lib/fsr/app/conference.rb
bougyman-freeswitcher-0.4.0 lib/fsr/app/conference.rb
bougyman-freeswitcher-0.4.1 lib/fsr/app/conference.rb
bougyman-freeswitcher-0.4.2 lib/fsr/app/conference.rb
freeswitcher-0.8.0 lib/fsr/app/conference.rb
freeswitcher-0.7.1 lib/fsr/app/conference.rb
freeswitcher-0.7.0 lib/fsr/app/conference.rb
freeswitcher-0.6.18 lib/fsr/app/conference.rb
freeswitcher-0.6.17 lib/fsr/app/conference.rb
freeswitcher-0.6.16 lib/fsr/app/conference.rb
freeswitcher-0.6.15 lib/fsr/app/conference.rb
freeswitcher-0.6.14 lib/fsr/app/conference.rb
freeswitcher-0.6.13 lib/fsr/app/conference.rb