Sha256: f5782a6b7e020de7859576a173947ba2812a071ab8af831a2c84c6a7b6c2ca0c

Contents?: true

Size: 621 Bytes

Versions: 1

Compression:

Stored size: 621 Bytes

Contents

# frozen_string_literal: true

# Code generated for API Clients. DO NOT EDIT.

module NgrokAPI
  module Models
    class EndpointPolicy
      attr_reader :client,
        :attrs,
        :enabled,
        :inbound,
        :outbound

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

1 entries across 1 versions & 1 rubygems

Version Path
ngrok-api-0.22.0 lib/ngrokapi/models/endpoint_policy.rb