Sha256: dcabf5c6bab4c2d8cffeed59a28c3d7db50ae0686feab94ee48eb2e6d2e60f0e

Contents?: true

Size: 220 Bytes

Versions: 3

Compression:

Stored size: 220 Bytes

Contents

module Roqua
  module CoreApi
    # @api private
    class Me < ActiveInteraction::Base
      model :session, class: Sessions::OAuthSession

      def execute
        session.get('/me')['me']
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
roqua-core-api-0.0.12 lib/roqua/core_api/me.rb
roqua-core-api-0.0.11 lib/roqua/core_api/me.rb
roqua-core-api-0.0.10 lib/roqua/core_api/me.rb