Module: Errapi::LocationBuilders
- Included in:
- ObjectValidator
- Defined in:
- lib/errapi/location_builders.rb
Instance Method Summary collapse
Instance Method Details
#dotted_location(string = nil) ⇒ Object
9 10 11 |
# File 'lib/errapi/location_builders.rb', line 9 def dotted_location string = nil Locations::Dotted.new string end |
#json_location(string = nil) ⇒ Object
5 6 7 |
# File 'lib/errapi/location_builders.rb', line 5 def json_location string = nil Locations::Json.new string end |
#no_location ⇒ Object
13 14 15 |
# File 'lib/errapi/location_builders.rb', line 13 def no_location Locations::None.instance end |