Class: Hawk::DSL
- Inherits:
-
Object
- Object
- Hawk::DSL
- Includes:
- Builder::DSL, Notifier::DSL, S3Uploader::DSL
- Defined in:
- lib/hawk/dsl.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Notifier::DSL
#email_body, #email_subject, #user
Methods included from S3Uploader::DSL
#access_key_id, #bucket_name, #delete_after, #secret_access_key
Methods included from Builder::DSL
#configuration, #project, #scheme, #signing_identity, #workspace
Class Method Details
.load(file) ⇒ Object
11 12 13 14 15 16 |
# File 'lib/hawk/dsl.rb', line 11 def self.load(file) instance = self.new instance.instance_eval(File.read(file), file) instance.execute end |