Class: Watchforge::ParsedDSN
- Inherits:
-
Struct
- Object
- Struct
- Watchforge::ParsedDSN
- Defined in:
- lib/watchforge/dsn.rb
Instance Attribute Summary collapse
-
#dsn ⇒ Object
Returns the value of attribute dsn.
-
#host ⇒ Object
Returns the value of attribute host.
-
#port ⇒ Object
Returns the value of attribute port.
-
#project_id ⇒ Object
Returns the value of attribute project_id.
-
#public_key ⇒ Object
Returns the value of attribute public_key.
-
#scheme ⇒ Object
Returns the value of attribute scheme.
Instance Method Summary collapse
Instance Attribute Details
#dsn ⇒ Object
Returns the value of attribute dsn
6 7 8 |
# File 'lib/watchforge/dsn.rb', line 6 def dsn @dsn end |
#host ⇒ Object
Returns the value of attribute host
6 7 8 |
# File 'lib/watchforge/dsn.rb', line 6 def host @host end |
#port ⇒ Object
Returns the value of attribute port
6 7 8 |
# File 'lib/watchforge/dsn.rb', line 6 def port @port end |
#project_id ⇒ Object
Returns the value of attribute project_id
6 7 8 |
# File 'lib/watchforge/dsn.rb', line 6 def project_id @project_id end |
#public_key ⇒ Object
Returns the value of attribute public_key
6 7 8 |
# File 'lib/watchforge/dsn.rb', line 6 def public_key @public_key end |
#scheme ⇒ Object
Returns the value of attribute scheme
6 7 8 |
# File 'lib/watchforge/dsn.rb', line 6 def scheme @scheme end |
Instance Method Details
#events_url ⇒ Object
7 8 9 |
# File 'lib/watchforge/dsn.rb', line 7 def events_url ingestion_url("events/") end |
#monitor_url ⇒ Object
15 16 17 |
# File 'lib/watchforge/dsn.rb', line 15 def monitor_url ingestion_url("monitors/checkins/") end |
#trace_url ⇒ Object
11 12 13 |
# File 'lib/watchforge/dsn.rb', line 11 def trace_url ingestion_url("trace/") end |