Sha256: 298b632a5dce932a84faaf5e5c31dab2b4fe8631606352637f60935f33c25cee

Contents?: true

Size: 612 Bytes

Versions: 3

Compression:

Stored size: 612 Bytes

Contents

# frozen_string_literal: true

# Code generated for API Clients. DO NOT EDIT.

module NgrokAPI
  module Models
    class EndpointUserAgentFilter
      attr_reader :client,
        :attrs,
        :enabled,
        :allow,
        :deny

      def initialize(client: nil, attrs: {})
        @client = client
        @attrs = attrs
        @enabled = @attrs['enabled']
        @allow = @attrs['allow']
        @deny = @attrs['deny']
      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

3 entries across 3 versions & 1 rubygems

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