Sha256: b8cf9590a1085ac62d7508ae15f1aaa837075c50f1ae674a34ee01139842a875

Contents?: true

Size: 210 Bytes

Versions: 17

Compression:

Stored size: 210 Bytes

Contents

# frozen_string_literal: true
module DiscourseApi
  module API
    module Notifications
      def notifications
        response = get('/notifications.json')
        response[:body]
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
discourse_api-0.46.0 lib/discourse_api/api/notifications.rb
discourse_api-0.45.1 lib/discourse_api/api/notifications.rb
discourse_api-0.45.0 lib/discourse_api/api/notifications.rb
discourse_api-0.44.0 lib/discourse_api/api/notifications.rb
discourse_api-0.43.1 lib/discourse_api/api/notifications.rb
discourse_api-0.43.0 lib/discourse_api/api/notifications.rb
discourse_api-0.42.0 lib/discourse_api/api/notifications.rb
discourse_api-0.41.0 lib/discourse_api/api/notifications.rb
discourse_api-0.40.0 lib/discourse_api/api/notifications.rb
discourse_api-0.39.3 lib/discourse_api/api/notifications.rb
discourse_api-0.39.2 lib/discourse_api/api/notifications.rb
discourse_api-0.39.1 lib/discourse_api/api/notifications.rb
discourse_api-0.39.0 lib/discourse_api/api/notifications.rb
discourse_api-0.38.0 lib/discourse_api/api/notifications.rb
discourse_api-0.37.0 lib/discourse_api/api/notifications.rb
discourse_api-0.36.0 lib/discourse_api/api/notifications.rb
discourse_api-0.35.0 lib/discourse_api/api/notifications.rb