Exception: ShotgridApiRuby::ShotgridCallError
- Inherits:
-
StandardError
- Object
- StandardError
- ShotgridApiRuby::ShotgridCallError
- Extended by:
- Forwardable, T::Sig
- Defined in:
- lib/shotgrid_api_ruby/shotgrid_call_error.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response:, message:) ⇒ ShotgridCallError
constructor
A new instance of ShotgridCallError.
Constructor Details
#initialize(response:, message:) ⇒ ShotgridCallError
Returns a new instance of ShotgridCallError.
10 11 12 13 |
# File 'lib/shotgrid_api_ruby/shotgrid_call_error.rb', line 10 def initialize(response:, message:) @response = T.let(response, T.untyped) super() end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
16 17 18 |
# File 'lib/shotgrid_api_ruby/shotgrid_call_error.rb', line 16 def response @response end |