Exception: Graphiti::Errors::SideloadConfig
- Defined in:
- lib/graphiti/errors.rb
Instance Method Summary collapse
-
#initialize(name, parent_resource_class, message) ⇒ SideloadConfig
constructor
A new instance of SideloadConfig.
- #message ⇒ Object
Constructor Details
#initialize(name, parent_resource_class, message) ⇒ SideloadConfig
Returns a new instance of SideloadConfig.
45 46 47 48 49 |
# File 'lib/graphiti/errors.rb', line 45 def initialize(name, parent_resource_class, ) @name = name @parent_resource_class = parent_resource_class @message = end |
Instance Method Details
#message ⇒ Object
51 52 53 54 55 |
# File 'lib/graphiti/errors.rb', line 51 def <<~MSG #{@parent_resource_class} sideload :#{@name} - #{@message} MSG end |