Class: Seam::Resources::AccessCode::Warnings::ModifiedFields

Inherits:
BaseResource
  • Object
show all
Defined in:
lib/seam/resources/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)


140
141
142
# File 'lib/seam/resources/access_code.rb', line 140

def field
  @field
end

#fromString?

The previous value of the field.

Returns:

  • (String, nil)


143
144
145
# File 'lib/seam/resources/access_code.rb', line 143

def from
  @from
end

#toString?

The new value of the field.

Returns:

  • (String, nil)


146
147
148
# File 'lib/seam/resources/access_code.rb', line 146

def to
  @to
end