Class: Label::QrCode

Inherits:
Label show all
Defined in:
app/models/label/qr_code.rb

Overview

The label that is to be rendered as a Qr Code

Instance Attribute Summary

Attributes inherited from Label

#is_copy_edited, #is_printed, #label_object_id, #label_object_type, #style, #text, #text_method, #total

Instance Method Summary collapse

Methods inherited from Label

#set_text, #stub_text

Methods included from Shared::IsData

#errors_excepting, #full_error_messages_excepting, #identical, #is_community?, #is_destroyable?, #is_editable?, #is_in_use?, #is_in_users_projects?, #metamorphosize, #similar

Methods included from Shared::PolymorphicAnnotator

#annotated_object_is_persisted?

Methods included from Shared::Depictions

#has_depictions?, #image_array=, #reject_depictions, #reject_images

Methods included from Shared::Tags

#reject_tags, #tag_with, #tagged?, #tagged_with?

Methods included from Shared::Notes

#concatenated_notes_string, #reject_notes

Methods included from Housekeeping

#has_polymorphic_relationship?

Methods inherited from ApplicationRecord

transaction_with_retry

Instance Method Details

#is_generated?Boolean

Returns:

  • (Boolean)


4
5
6
# File 'app/models/label/qr_code.rb', line 4

def is_generated?
  true
end