Sha256: fa667c231aad58bddd8ff5a15807470b115d4be18dc929140e2d9019caf4019c

Contents?: true

Size: 564 Bytes

Versions: 2

Compression:

Stored size: 564 Bytes

Contents

# frozen_string_literal: true

# Code generated for API Clients. DO NOT EDIT.

module NgrokAPI
  module Models
    class EndpointTrafficPolicy
      attr_reader :client,
        :attrs,
        :enabled,
        :value

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

2 entries across 2 versions & 1 rubygems

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