Class: Oncall::DSL
- Inherits:
-
Object
- Object
- Oncall::DSL
- Defined in:
- lib/oncall/dsl.rb
Instance Method Summary collapse
-
#initialize(file, reporter) ⇒ DSL
constructor
A new instance of DSL.
- #to_s ⇒ Object
Constructor Details
#initialize(file, reporter) ⇒ DSL
Returns a new instance of DSL.
3 4 5 6 7 8 9 |
# File 'lib/oncall/dsl.rb', line 3 def initialize(file, reporter) @reporter = reporter @file = file @http = nil @headers = {} @params = {} end |
Instance Method Details
#to_s ⇒ Object
11 12 13 |
# File 'lib/oncall/dsl.rb', line 11 def to_s @file end |