Class: Userlist::Push::Client
- Inherits:
-
Object
- Object
- Userlist::Push::Client
- Includes:
- Logging
- Defined in:
- lib/userlist/push/client.rb
Instance Method Summary collapse
-
#initialize(config = {}) ⇒ Client
constructor
A new instance of Client.
- #post(endpoint, payload = {}) ⇒ Object
Methods included from Logging
Constructor Details
Instance Method Details
#post(endpoint, payload = {}) ⇒ Object
15 16 17 |
# File 'lib/userlist/push/client.rb', line 15 def post(endpoint, payload = {}) request(endpoint, payload) end |