class Syncano::Packets::Error
Class representing error packets used in communication with the Sync Server
Attributes
error[RW]
Public Class Methods
new(attributes)
click to toggle source
Constructor for Syncano::Packets::Error
object @param [Hash] attributes
Calls superclass method
Syncano::Packets::Base::new
# File lib/syncano/packets/error.rb, line 9 def initialize(attributes) super(attributes) self.error = attributes[:error] end