Class: BeamUp::Providers::Base
- Inherits:
-
Object
- Object
- BeamUp::Providers::Base
- Defined in:
- lib/beam_up/providers/base.rb
Direct Known Subclasses
Bunny, Neocities, Netlify, S3Compatible, SFTP, Statichost, Transporter
Instance Method Summary collapse
- #deploy! ⇒ Object
-
#initialize(configuration) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(configuration) ⇒ Base
Returns a new instance of Base.
8 9 10 11 12 |
# File 'lib/beam_up/providers/base.rb', line 8 def initialize(configuration) @configuration = configuration configuration.validate! end |
Instance Method Details
#deploy! ⇒ Object
14 15 16 |
# File 'lib/beam_up/providers/base.rb', line 14 def deploy! raise NotImplementedError, "Subclasses must implement #deploy" end |