Class: Ghn::ReleaseNotification
- Inherits:
-
Notification
- Object
- Notification
- Ghn::ReleaseNotification
- Defined in:
- lib/ghn/notification.rb
Instance Attribute Summary
Attributes inherited from Notification
#follow_issuecomment, #notification
Instance Method Summary collapse
Methods inherited from Notification
Constructor Details
This class inherits a constructor from Ghn::Notification
Instance Method Details
#url ⇒ Object
69 70 71 72 73 |
# File 'lib/ghn/notification.rb', line 69 def url url = notification[:subject][:url] result = JSON.parse(Net::HTTP.get(URI.parse(url))) result['html_url'] end |