class BigbluebuttonRails::APIError

To help create responses for API errors

Public Class Methods

new(msg, code=500, title=nil) click to toggle source
Calls superclass method
# File lib/bigbluebutton_rails/exceptions.rb, line 12
def initialize(msg, code=500, title=nil)
  @title = title || msg
  @code = code
  super(msg)
end

Public Instance Methods

code() click to toggle source
# File lib/bigbluebutton_rails/exceptions.rb, line 18
def code
  @code
end
title() click to toggle source
# File lib/bigbluebutton_rails/exceptions.rb, line 22
def title
  @title
end