Class: Seam::Resources::AccessCode::Errors::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)


46
47
48
# File 'lib/seam/resources/access_code.rb', line 46

def field
  @field
end

#fromString?

The previous value of the field.

Returns:

  • (String, nil)


49
50
51
# File 'lib/seam/resources/access_code.rb', line 49

def from
  @from
end

#toString?

The new value of the field.

Returns:

  • (String, nil)


52
53
54
# File 'lib/seam/resources/access_code.rb', line 52

def to
  @to
end