Class: Gobuster::S3Bucket
- Inherits:
-
Object
- Object
- Gobuster::S3Bucket
- Defined in:
- lib/gobuster/s3_bucket.rb
Overview
Represents an S3 bucket found by gobuster s3.
Instance Attribute Summary collapse
-
#url ⇒ String
readonly
The URL to the S3 bucket.
Instance Method Summary collapse
-
#initialize(url) ⇒ S3Bucket
constructor
Initializes the S3 bucket.
-
#to_s ⇒ String
(also: #to_str)
Converts the S3 bucket to a String.
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
#url ⇒ String (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_s ⇒ String 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 |