Exception: SDKException

Inherits:
Exception
  • Object
show all
Defined in:
lib/sdk_exception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, code, type, url) ⇒ SDKException

Returns a new instance of SDKException.



4
5
6
7
8
9
# File 'lib/sdk_exception.rb', line 4

def initialize message, code, type, url
	@message = message
	@code = code
	@type = type
	@url = url
end

Instance Attribute Details

#codeObject

Returns the value of attribute code.



2
3
4
# File 'lib/sdk_exception.rb', line 2

def code
  @code
end

#messageObject

Returns the value of attribute message.



2
3
4
# File 'lib/sdk_exception.rb', line 2

def message
  @message
end

#typeObject

Returns the value of attribute type.



2
3
4
# File 'lib/sdk_exception.rb', line 2

def type
  @type
end

#urlObject

Returns the value of attribute url.



2
3
4
# File 'lib/sdk_exception.rb', line 2

def url
  @url
end