Class: ClickSend::REST::DeliveryReport

Inherits:
Resource
  • Object
show all
Defined in:
lib/click_send/rest/delivery_report.rb

Overview

A class to wrap delivery report related functionality within the ClickSend API.

Instance Attribute Summary

Attributes inherited from Resource

#connection

Instance Method Summary collapse

Methods inherited from Resource

#initialize

Constructor Details

This class inherits a constructor from ClickSend::REST::Resource

Instance Method Details

#allObject

Poll ClickSend API for delivery reports for sent messages. Make sure ‘Poll our server’ settings is selected under ‘SMS Delivery Report Settings’ before using this.



10
11
12
# File 'lib/click_send/rest/delivery_report.rb', line 10

def all
  perform_request(:post, '/rest/v2/delivery.json')
end