Sha256: 7c46f8b2bad35ba35ebf4a556059b979322e6578e71cd2e9c528bedeabc1721c

Contents?: true

Size: 974 Bytes

Versions: 4

Compression:

Stored size: 974 Bytes

Contents

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

    @prometheus: untyped
    @prometheus_middleware: untyped
    @secure_header: String
    @server: untyped

    @server_class: untyped
    @session: bool
    @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

4 entries across 4 versions & 1 rubygems

Version Path
macaw_framework-1.3.21 sig/macaw_framework/macaw.rbs
macaw_framework-1.3.1 sig/macaw_framework/macaw.rbs
macaw_framework-1.3.0 sig/macaw_framework/macaw.rbs
macaw_framework-1.2.6 sig/macaw_framework/macaw.rbs