Sha256: 7807ffdbab8ac45bc24d73f0f93ff050260ed5a99bb3540f7abf003eeeffcf69

Contents?: true

Size: 677 Bytes

Versions: 9

Compression:

Stored size: 677 Bytes

Contents

# typed: strict
module Researchable
  module FreedcampApi
    module Sessions
      class Session
        extend T::Sig
        extend T::Helpers # (1)
        abstract! # (2)

        sig { abstract.params(path: String).returns(T::Hash[T.untyped, T.untyped]) }
        def get(path); end

        # (3)
        sig do
          abstract.params(
            path: String,
            data: T.any(
              Researchable::FreedcampApi::Structs::Task,
              Researchable::FreedcampApi::Structs::Comment,
              T::Hash[T.untyped, T.untyped]
            )
          ).returns(T.untyped)
        end
        def post(path, data); end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
researchable-freedcamp-api-0.1.8 lib/researchable/freedcamp_api/sessions/session.rb
researchable-freedcamp-api-0.1.7 lib/researchable/freedcamp_api/sessions/session.rb
researchable-freedcamp-api-0.1.6 lib/researchable/freedcamp_api/sessions/session.rb
researchable-freedcamp-api-0.1.5 lib/researchable/freedcamp_api/sessions/session.rb
researchable-freedcamp-api-0.1.4 lib/researchable/freedcamp_api/sessions/session.rb
researchable-freedcamp-api-0.1.3 lib/researchable/freedcamp_api/sessions/session.rb
researchable-freedcamp-api-0.1.2 lib/researchable/freedcamp_api/sessions/session.rb
researchable-freedcamp-api-0.1.1 lib/researchable/freedcamp_api/sessions/session.rb
researchable-freedcamp-api-0.1.0 lib/researchable/freedcamp_api/sessions/session.rb