class NgrokAPI::Models::AWSCredentials

Attributes

attrs[R]
aws_access_key_id[R]
aws_secret_access_key[R]
client[R]

Public Class Methods

new(client: nil, attrs: {}) click to toggle source
# File lib/ngrokapi/models/aws_credentials.rb, line 11
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

Public Instance Methods

==(other) click to toggle source
# File lib/ngrokapi/models/aws_credentials.rb, line 18
def ==(other)
  @attrs == other.attrs
end
to_h() click to toggle source
# File lib/ngrokapi/models/aws_credentials.rb, line 26
def to_h
  @attrs.to_h
end
to_s() click to toggle source
# File lib/ngrokapi/models/aws_credentials.rb, line 22
def to_s
  @attrs.to_s
end