Sha256: dd63e219884f2a3caaabd784e62b0b9f9374d5f0c760983dd3cdd43774027fb4

Contents?: true

Size: 612 Bytes

Versions: 4

Compression:

Stored size: 612 Bytes

Contents

# frozen_string_literal: true

# Code generated for API Clients. DO NOT EDIT.

module NgrokAPI
  module Models
    class EndpointResponseHeaders
      attr_reader :client,
        :attrs,
        :enabled,
        :add,
        :remove

      def initialize(client: nil, attrs: {})
        @client = client
        @attrs = attrs
        @enabled = @attrs['enabled']
        @add = @attrs['add']
        @remove = @attrs['remove']
      end

      def ==(other)
        @attrs == other.attrs
      end

      def to_s
        @attrs.to_s
      end

      def to_h
        @attrs.to_h
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ngrok-api-0.24.0 lib/ngrokapi/models/endpoint_response_headers.rb
ngrok-api-0.23.0 lib/ngrokapi/models/endpoint_response_headers.rb
ngrok-api-0.22.0 lib/ngrokapi/models/endpoint_response_headers.rb
ngrok-api-0.21.0 lib/ngrokapi/models/endpoint_response_headers.rb