Class: Seam::Resources::SeamEvent::RequestedMutations

Inherits:
BaseResource
  • Object
show all
Defined in:
lib/seam/resources/event.rb

Instance Attribute Summary collapse

Attributes inherited from BaseResource

#client, #data

Method Summary

Methods inherited from BaseResource

#[], date_accessor, #initialize, #inspect, load_from_response, resource_accessor, resource_accessors, resource_list_accessor, resource_list_accessors, #update_from_response

Constructor Details

This class inherits a constructor from Seam::Resources::BaseResource

Instance Attribute Details

#fromObject

Previous property values before the requested change. Keys depend on the mutation type. Absent for non-property mutations like deleting.



107
108
109
# File 'lib/seam/resources/event.rb', line 107

def from
  @from
end

#mutation_codeObject

Code identifying the type of mutation requested, such as updating_name, updating_code, updating_time_frame, or deleting.



109
110
111
# File 'lib/seam/resources/event.rb', line 109

def mutation_code
  @mutation_code
end

#toObject

New property values after the requested change. Keys depend on the mutation type. Absent for non-property mutations like deleting.



111
112
113
# File 'lib/seam/resources/event.rb', line 111

def to
  @to
end