Exception: Xiaomi::Push::Error

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

Direct Known Subclasses

FailuresError, RequestError

Instance Attribute Summary collapse

Instance Attribute Details

#errorObject (readonly)

Returns the value of attribute error.



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

def error
  @error
end

#urlObject (readonly)

Returns the value of attribute url.



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

def url
  @url
end