Class: Pinspec::ImportCluster

Inherits:
Data
  • Object
show all
Defined in:
lib/pinspec/types.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#attrsObject (readonly)

Returns the value of attribute attrs

Returns:

  • (Object)

    the current value of attrs



108
109
110
# File 'lib/pinspec/types.rb', line 108

def attrs
  @attrs
end

#flagsObject (readonly)

Returns the value of attribute flags

Returns:

  • (Object)

    the current value of flags



108
109
110
# File 'lib/pinspec/types.rb', line 108

def flags
  @flags
end

#modelObject (readonly)

Returns the value of attribute model

Returns:

  • (Object)

    the current value of model



108
109
110
# File 'lib/pinspec/types.rb', line 108

def model
  @model
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



108
109
110
# File 'lib/pinspec/types.rb', line 108

def name
  @name
end

#redactedObject (readonly)

Returns the value of attribute redacted

Returns:

  • (Object)

    the current value of redacted



108
109
110
# File 'lib/pinspec/types.rb', line 108

def redacted
  @redacted
end

#sourceObject (readonly)

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



108
109
110
# File 'lib/pinspec/types.rb', line 108

def source
  @source
end

#tableObject (readonly)

Returns the value of attribute table

Returns:

  • (Object)

    the current value of table



108
109
110
# File 'lib/pinspec/types.rb', line 108

def table
  @table
end

Instance Method Details

#redaction_read?Boolean

Returns:

  • (Boolean)


109
110
111
# File 'lib/pinspec/types.rb', line 109

def redaction_read?
  Array(flags).include?(:redaction_read)
end