Class: Seam::Resources::UnmanagedAccessCode::Warnings::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

#[], 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

#fieldString

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

Returns:

  • (String)


94
95
96
# File 'lib/seam/resources/unmanaged_access_code.rb', line 94

def field
  @field
end

#fromString?

The previous value of the field.

Returns:

  • (String, nil)


97
98
99
# File 'lib/seam/resources/unmanaged_access_code.rb', line 97

def from
  @from
end

#toString?

The new value of the field.

Returns:

  • (String, nil)


100
101
102
# File 'lib/seam/resources/unmanaged_access_code.rb', line 100

def to
  @to
end