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



100
101
102
# File 'lib/pinspec/types.rb', line 100

def attrs
  @attrs
end

#flagsObject (readonly)

Returns the value of attribute flags

Returns:

  • (Object)

    the current value of flags



100
101
102
# File 'lib/pinspec/types.rb', line 100

def flags
  @flags
end

#modelObject (readonly)

Returns the value of attribute model

Returns:

  • (Object)

    the current value of model



100
101
102
# File 'lib/pinspec/types.rb', line 100

def model
  @model
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



100
101
102
# File 'lib/pinspec/types.rb', line 100

def name
  @name
end

#redactedObject (readonly)

Returns the value of attribute redacted

Returns:

  • (Object)

    the current value of redacted



100
101
102
# File 'lib/pinspec/types.rb', line 100

def redacted
  @redacted
end

#sourceObject (readonly)

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



100
101
102
# File 'lib/pinspec/types.rb', line 100

def source
  @source
end

#tableObject (readonly)

Returns the value of attribute table

Returns:

  • (Object)

    the current value of table



100
101
102
# File 'lib/pinspec/types.rb', line 100

def table
  @table
end

Instance Method Details

#redaction_read?Boolean

Returns:

  • (Boolean)


101
102
103
# File 'lib/pinspec/types.rb', line 101

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