Exception: Graphiti::Errors::RemoteWrite
- Defined in:
- lib/graphiti/errors.rb
Instance Method Summary collapse
-
#initialize(resource_class) ⇒ RemoteWrite
constructor
A new instance of RemoteWrite.
- #message ⇒ Object
Constructor Details
#initialize(resource_class) ⇒ RemoteWrite
Returns a new instance of RemoteWrite.
89 90 91 |
# File 'lib/graphiti/errors.rb', line 89 def initialize(resource_class) @resource_class = resource_class end |
Instance Method Details
#message ⇒ Object
93 94 95 96 97 |
# File 'lib/graphiti/errors.rb', line 93 def " \#{@resource_class}: Tried to perform write operation. Writes are not supported for remote resources - hit the endpoint directly.\n MSG\nend\n" |