Exception: FacelessReels::HTTPError
- Defined in:
- lib/faceless_reels.rb
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status) ⇒ HTTPError
constructor
A new instance of HTTPError.
Constructor Details
#initialize(status) ⇒ HTTPError
Returns a new instance of HTTPError.
13 14 15 16 |
# File 'lib/faceless_reels.rb', line 13 def initialize(status) @status = status.to_i super("Faceless Reels returned HTTP #{@status}") end |
Instance Attribute Details
#status ⇒ Object (readonly)
Returns the value of attribute status.
11 12 13 |
# File 'lib/faceless_reels.rb', line 11 def status @status end |