Class: Seam::Resources::Device::Properties::CodeConstraints

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

#constraint_typeString

Known values:

  • no_zeros
  • cannot_start_with_12
  • no_triple_consecutive_ints
  • cannot_specify_pin_code
  • pin_code_matches_existing_set
  • start_date_in_future
  • no_ascending_or_descending_sequence
  • at_least_three_unique_digits
  • cannot_contain_089
  • cannot_contain_0789
  • unique_first_four_digits
  • no_all_same_digits
  • name_length
  • name_must_be_unique

Returns:

  • (String)


1288
1289
1290
# File 'lib/seam/resources/device.rb', line 1288

def constraint_type
  @constraint_type
end

#max_lengthFloat?

Maximum name length constraint for access codes.

Returns:

  • (Float, nil)


1291
1292
1293
# File 'lib/seam/resources/device.rb', line 1291

def max_length
  @max_length
end

#min_lengthFloat?

Minimum name length constraint for access codes.

Returns:

  • (Float, nil)


1294
1295
1296
# File 'lib/seam/resources/device.rb', line 1294

def min_length
  @min_length
end