Sha256: b7917d131dc13b6780eb6ae0260e7b28a24dc4c26e6386ad087be16c699a240d

Contents?: true

Size: 449 Bytes

Versions: 6

Compression:

Stored size: 449 Bytes

Contents

# frozen_string_literal: true

module NgrokAPI
  module Models
    class AWSAuth
      attr_reader :client,
        :result,
        :role,
        :creds

      def initialize(client:, result:)
        @client = client
        @result = result
        @role = @result['role']
        @creds = @result['creds']
      end

      def ==(other)
        @result == other.result
      end

      def to_s
        @result.to_s
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ngrok-api-0.18.0 lib/ngrokapi/models/aws_auth.rb
ngrok-api-0.17.0 lib/ngrokapi/models/aws_auth.rb
ngrok-api-0.16.0 lib/ngrokapi/models/aws_auth.rb
ngrok-api-0.15.0 lib/ngrokapi/models/aws_auth.rb
ngrok-api-0.14.0 lib/ngrokapi/models/aws_auth.rb
ngrok-api-0.12.0 lib/ngrokapi/models/aws_auth.rb