class Eventifier::API

Public Class Methods

new() click to toggle source
Calls superclass method
# File lib/eventifier/api.rb, line 2
def initialize
  super do |api|
    api.connect :get,  '/notifications', Eventifier::API::GetNotifications
    api.connect :post, '/notifications/touch',
      Eventifier::API::TouchNotifications

    api.connect :get, '/preferences', Eventifier::API::GetPreferences
    api.connect :put, '/preferences', Eventifier::API::PutPreferences
  end
end