Class: Gobuster::S3Bucket

Inherits:
Object
  • Object
show all
Defined in:
lib/gobuster/s3_bucket.rb

Overview

Represents an S3 bucket found by gobuster s3.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(url) ⇒ S3Bucket

Initializes the S3 bucket.



17
18
19
# File 'lib/gobuster/s3_bucket.rb', line 17

def initialize(url)
  @url = url
end

Instance Attribute Details

#urlString (readonly)

The URL to the S3 bucket.



10
11
12
# File 'lib/gobuster/s3_bucket.rb', line 10

def url
  @url
end

Instance Method Details

#to_sString Also known as: to_str

Converts the S3 bucket to a String.



26
27
28
# File 'lib/gobuster/s3_bucket.rb', line 26

def to_s
  @url
end