Sha256: 1b1c18e8ec90c9e2c506d75e0cd5389db03b9a5995b6ebc6c95e27fa6a5e2b0b

Contents?: true

Size: 901 Bytes

Versions: 1

Compression:

Stored size: 901 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
    @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

1 entries across 1 versions & 1 rubygems

Version Path
macaw_framework-1.2.5 sig/macaw_framework/macaw.rbs