Sha256: 44c419811a4821c7ed9594eaf9b5e19e06813be9fcf908b089eda2067d20f02a

Contents?: true

Size: 587 Bytes

Versions: 1

Compression:

Stored size: 587 Bytes

Contents

# frozen_string_literal: true

module NgrokAPI
  module Models
    class AWSCredentials
      attr_reader :client,
        :attrs,
        :aws_access_key_id,
        :aws_secret_access_key

      def initialize(client: nil, attrs: {})
        @client = client
        @attrs = attrs
        @aws_access_key_id = @attrs['aws_access_key_id']
        @aws_secret_access_key = @attrs['aws_secret_access_key']
      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/aws_credentials.rb