Sha256: 81d21eb63efe14517cf7c0630d1ec96083d4e7fe509ba7a2497ce0cd3ff36a99

Contents?: true

Size: 852 Bytes

Versions: 3

Compression:

Stored size: 852 Bytes

Contents

module MacawFramework
  class Macaw
    @bind: String
    @cache: untyped
    @config: Hash[String, untyped]
    @cron_runner: CronRunner
    @endpoints_to_cache: Array[String]
    @macaw_log: Logger?

    @prometheus: untyped
    @prometheus_middleware: untyped
    @server: untyped

    @threads: Integer

    attr_accessor bind: String
    attr_reader config: Hash[String, untyped]
    attr_reader jobs: Array[String]
    attr_reader macaw_log: Logger?
    attr_accessor port: Integer
    attr_reader routes: Array[String]
    attr_accessor threads: Integer

    def delete: -> nil

    def get: -> nil

    def patch: -> nil

    def post: -> nil

    def put: -> nil

    def setup_job: -> nil

    def start!: -> nil

    private

    def extract_body: -> string

    def extract_client_info: -> nil

    def extract_headers: -> string
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
macaw_framework-1.2.4 sig/macaw_framework/macaw.rbs
macaw_framework-1.2.3 sig/macaw_framework/macaw.rbs
macaw_framework-1.2.2 sig/macaw_framework/macaw.rbs