Sha256: 3834cc940d62399b26ec2d3c1fa5a547d134439ff00fa73d9a2c81a7808900a3

Contents?: true

Size: 488 Bytes

Versions: 7

Compression:

Stored size: 488 Bytes

Contents

# frozen_string_literal: true

module Bearcat
  class Client < Footrest::Client
    module AccountNotifications
      extend ClientModule

      prefix "/api/v1/accounts/:account_id/account_notifications/" do
        get :global_notifications_for_user
        post :create_global_notification
        prefix ":id/" do
          get :global_notification
          put :update_global_notification
          delete :close_global_notification_for_user
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bearcat-1.5.37 lib/bearcat/client/account_notifications.rb
bearcat-1.5.36 lib/bearcat/client/account_notifications.rb
bearcat-1.5.35 lib/bearcat/client/account_notifications.rb
bearcat-1.5.34 lib/bearcat/client/account_notifications.rb
bearcat-1.5.33 lib/bearcat/client/account_notifications.rb
bearcat-1.5.32 lib/bearcat/client/account_notifications.rb
bearcat-1.5.31 lib/bearcat/client/account_notifications.rb