Sha256: af60a07c2d69715f75b13d22fb12d9041f2f9e390e93ade0ec3e88c8d03d3e3c

Contents?: true

Size: 374 Bytes

Versions: 7

Compression:

Stored size: 374 Bytes

Contents

require 'wall'

# This class is a mockup of a conference in the conference rooms application.
# In real, this should be a Model
class Conference

  attr_reader :name

  def initialize(name)
    @name = name
  end

  def is_allowed?(number)
    true
  end

  def start

  end

  def end(number)

  end

  def to_s
    @name
  end

  def wall
    @wall ||= Wall.new
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
connfu-client-0.1.6 examples/conference/conference.rb
connfu-client-0.1.5 examples/conference/conference.rb
connfu-client-0.1.4 examples/conference/conference.rb
connfu-client-0.1.3 examples/conference/conference.rb
connfu-client-0.1.2 examples/conference/conference.rb
connfu-client-0.1.1 examples/conference/conference.rb
connfu-client-0.1 examples/conference/conference.rb