Sha256: 3f7f9cb9c6eb2ed7e89ff9c841088bb67629611c2763e28e29cc7eb17390dcd2

Contents?: true

Size: 289 Bytes

Versions: 1

Compression:

Stored size: 289 Bytes

Contents

module Roqua
  module CoreApi
    # @api private
    class DestroyTokenSession < Base
      model :session, class: Sessions::TokenSession
      string :organization_id

      def execute
        session.delete "/organizations/#{organization_id}/token_sessions"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
roqua-core-api-0.1.1 lib/roqua/core_api/destroy_token_session.rb