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