Class: Spandx::Rubygems::Backups
- Inherits:
-
Object
- Object
- Spandx::Rubygems::Backups
- Defined in:
- lib/spandx/rubygems/backups.rb
Instance Attribute Summary collapse
-
#base_url ⇒ Object
readonly
Returns the value of attribute base_url.
Instance Method Summary collapse
- #each ⇒ Object
-
#initialize(base_url: 'https://s3-us-west-2.amazonaws.com/rubygems-dumps/') ⇒ Backups
constructor
A new instance of Backups.
Constructor Details
#initialize(base_url: 'https://s3-us-west-2.amazonaws.com/rubygems-dumps/') ⇒ Backups
Returns a new instance of Backups.
8 9 10 11 |
# File 'lib/spandx/rubygems/backups.rb', line 8 def initialize(base_url: 'https://s3-us-west-2.amazonaws.com/rubygems-dumps/') @base_url = base_url @http = Net::Hippie::Client.new end |
Instance Attribute Details
#base_url ⇒ Object (readonly)
Returns the value of attribute base_url.
6 7 8 |
# File 'lib/spandx/rubygems/backups.rb', line 6 def base_url @base_url end |