Exception: ZhimaAuth::ZhimaAuthInvalidResponse

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) ⇒ ZhimaAuthInvalidResponse

Returns a new instance of ZhimaAuthInvalidResponse.



11
12
13
# File 'lib/zhima_auth/error.rb', line 11

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

Instance Attribute Details

#messageObject

Returns the value of attribute message.



10
11
12
# File 'lib/zhima_auth/error.rb', line 10

def message
  @message
end