Exception: Pling::DeliveryFailed

Inherits:
Error
  • Object
show all
Defined in:
lib/pling.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, pling_message = nil, pling_device = nil) ⇒ DeliveryFailed



29
30
31
32
33
# File 'lib/pling.rb', line 29

def initialize(message = nil, pling_message = nil, pling_device = nil)
  super(message)
  @pling_message = pling_message
  @pling_device  = pling_device
end

Instance Attribute Details

#pling_deviceObject (readonly)

Returns the value of attribute pling_device



27
28
29
# File 'lib/pling.rb', line 27

def pling_device
  @pling_device
end

#pling_messageObject (readonly)

Returns the value of attribute pling_message



27
28
29
# File 'lib/pling.rb', line 27

def pling_message
  @pling_message
end