Exception: ZhimaAuth::ZhimaAuthInvalidParams

Inherits:
StandardError
  • Object
show all
Defined in:
lib/zhima_auth/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil) ⇒ ZhimaAuthInvalidParams

Returns a new instance of ZhimaAuthInvalidParams.



4
5
6
# File 'lib/zhima_auth/error.rb', line 4

def initialize(msg=nil)
  @message = msg
end

Instance Attribute Details

#messageObject

Returns the value of attribute message.



3
4
5
# File 'lib/zhima_auth/error.rb', line 3

def message
  @message
end