Sha256: a6d47bd25ba7882d71aa578d5f4799b08fb6371b86c80ce785ea72863c6fee5b
Contents?: true
Size: 238 Bytes
Versions: 1
Compression:
Stored size: 238 Bytes
Contents
def build_running_json(value, qty, error=nil) if error.nil? hash = { :running => "#{value}", :participants_qty => qty } else hash = { :running => "#{value}"} end hash[:error] = error unless error.nil? hash.to_json end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bigbluebutton_rails-3.0.0 | spec/support/controllers/bigbluebutton/rooms_controller.rb |