Sha256: e686d1837873f34e4f355c98c5b761f36bd341779db76a46b3d74f66c6e6a42b

Contents?: true

Size: 541 Bytes

Versions: 1

Compression:

Stored size: 541 Bytes

Contents

# frozen_string_literal: true

module NgrokAPI
  module Models
    class EndpointIPPolicyMutate
      attr_reader :client,
        :attrs,
        :enabled,
        :ip_policy_ids

      def initialize(client: nil, attrs: {})
        @client = client
        @attrs = attrs
        @enabled = @attrs['enabled']
        @ip_policy_ids = @attrs['ip_policy_ids']
      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.19.0 lib/ngrokapi/models/endpoint_ip_policy_mutate.rb