Class: Seam::Resources::UnmanagedAccessCode::Errors::ConflictingExternalModification::ModifiedFields

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

Instance Attribute Summary collapse

Attributes inherited from BaseResource

#client, #data

Method Summary

Methods inherited from BaseResource

#[], aliased_accessor, attribute_aliases, date_accessor, discriminated_by, #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

#fieldString

The name of the field that was changed (e.g. code, starts_at, ends_at).

Returns:

  • (String)


147
148
149
# File 'lib/seam/resources/unmanaged_access_code.rb', line 147

def field
  @field
end

#fromString?

The previous value of the field.

Returns:

  • (String, nil)


150
151
152
# File 'lib/seam/resources/unmanaged_access_code.rb', line 150

def from
  @from
end

#toString?

The new value of the field.

Returns:

  • (String, nil)


153
154
155
# File 'lib/seam/resources/unmanaged_access_code.rb', line 153

def to
  @to
end