Sha256: 95455d273d357e885aff482bf9e0849a73a886bd79576838bdd8b19b55131584

Contents?: true

Size: 619 Bytes

Versions: 1

Compression:

Stored size: 619 Bytes

Contents

# frozen_string_literal: true

# Code generated for API Clients. DO NOT EDIT.

module NgrokAPI
  module Models
    class EndpointRule
      attr_reader :client,
        :attrs,
        :expressions,
        :actions,
        :name

      def initialize(client: nil, attrs: {})
        @client = client
        @attrs = attrs
        @expressions = @attrs['expressions']
        @actions = @attrs['actions']
        @name = @attrs['name']
      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_rule.rb