Exception: Blueauth::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Blueauth::Error
- Defined in:
- lib/blueauth/error.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Error
constructor
A new instance of Error.
- #message ⇒ Object
- #options ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ Error
Returns a new instance of Error.
4 5 6 |
# File 'lib/blueauth/error.rb', line 4 def initialize( = {}) .is_a?(String) ? @options = {:message => } : @options = end |
Instance Method Details
#message ⇒ Object
8 9 10 |
# File 'lib/blueauth/error.rb', line 8 def @options[:message] end |
#options ⇒ Object
12 13 14 |
# File 'lib/blueauth/error.rb', line 12 def @options end |