Sha256: 3591e303d56c34bf163f29d90a117956efc2e29a8b50867f10b4784c15a73817

Contents?: true

Size: 290 Bytes

Versions: 11

Compression:

Stored size: 290 Bytes

Contents

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

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
roqua-core-api-0.7.0 lib/roqua/core_api/destroy_token_session.rb
roqua-core-api-0.6.0 lib/roqua/core_api/destroy_token_session.rb
roqua-core-api-0.5.0 lib/roqua/core_api/destroy_token_session.rb
roqua-core-api-0.4.0 lib/roqua/core_api/destroy_token_session.rb
roqua-core-api-0.3.1 lib/roqua/core_api/destroy_token_session.rb
roqua-core-api-0.3.0 lib/roqua/core_api/destroy_token_session.rb
roqua-core-api-0.2.4 lib/roqua/core_api/destroy_token_session.rb
roqua-core-api-0.2.3 lib/roqua/core_api/destroy_token_session.rb
roqua-core-api-0.2.2 lib/roqua/core_api/destroy_token_session.rb
roqua-core-api-0.2.1 lib/roqua/core_api/destroy_token_session.rb
roqua-core-api-0.2.0 lib/roqua/core_api/destroy_token_session.rb