Exception: Prdigest::FetchError
- Defined in:
- lib/prdigest.rb
Instance Attribute Summary collapse
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
Instance Method Summary collapse
-
#initialize(message, kind: "github") ⇒ FetchError
constructor
A new instance of FetchError.
Constructor Details
#initialize(message, kind: "github") ⇒ FetchError
Returns a new instance of FetchError.
10 11 12 13 |
# File 'lib/prdigest.rb', line 10 def initialize(, kind: "github") @kind = kind super() end |
Instance Attribute Details
#kind ⇒ Object (readonly)
Returns the value of attribute kind.
8 9 10 |
# File 'lib/prdigest.rb', line 8 def kind @kind end |