Class: ExceptionNotificationLarkNotifier::Http
- Inherits:
-
Object
- Object
- ExceptionNotificationLarkNotifier::Http
- Defined in:
- lib/exception_notification-lark-notifier/http.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ Http
constructor
A new instance of Http.
- #post(options) ⇒ Object
Constructor Details
#initialize(options) ⇒ Http
Returns a new instance of Http.
3 4 5 6 |
# File 'lib/exception_notification-lark-notifier/http.rb', line 3 def initialize() @uri = .fetch(:uri) @options = .fetch(:options) end |
Instance Method Details
#post(options) ⇒ Object
8 9 10 |
# File 'lib/exception_notification-lark-notifier/http.rb', line 8 def post() request(:post, ) end |