Class: TwitterJekyll::ErrorResponse Private
- Inherits:
-
Struct
- Object
- Struct
- TwitterJekyll::ErrorResponse
- Defined in:
- lib/jekyll-twitter-plugin.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
-
#request ⇒ Object
Returns the value of attribute request.
Instance Method Summary collapse
- #html ⇒ Object private
- #to_h ⇒ Object private
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message
97 98 99 |
# File 'lib/jekyll-twitter-plugin.rb', line 97 def @message end |
#request ⇒ Object
Returns the value of attribute request
97 98 99 |
# File 'lib/jekyll-twitter-plugin.rb', line 97 def request @request end |
Instance Method Details
#html ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
98 99 100 |
# File 'lib/jekyll-twitter-plugin.rb', line 98 def html "<p>There was a '#{}' error fetching URL: '#{request.entity_url}'</p>" end |
#to_h ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
102 103 104 |
# File 'lib/jekyll-twitter-plugin.rb', line 102 def to_h { html: html } end |