class Blueauth::Error

Public Class Methods

new(options = {}) click to toggle source
# File lib/blueauth/error.rb, line 4
def initialize(options = {})
  options.is_a?(String) ? @options = {:message => options} : @options = options
end

Public Instance Methods

message() click to toggle source
# File lib/blueauth/error.rb, line 8
def message
  @options[:message]
end
options() click to toggle source
# File lib/blueauth/error.rb, line 12
def options
  @options
end