Class: CardDB::ScanTemplateRegion
Instance Attribute Summary
Attributes inherited from Resource
#client, #data
Instance Method Summary
collapse
Methods inherited from Resource
#[], #initialize, #key?, #to_h, #to_json
Instance Method Details
#config ⇒ Object
1134
|
# File 'lib/carddb/collection.rb', line 1134
def config = data['config'] || {}
|
1130
|
# File 'lib/carddb/collection.rb', line 1130
def = data['extractionMode']
|
#geometry ⇒ Object
1128
|
# File 'lib/carddb/collection.rb', line 1128
def geometry = data['geometry'] || {}
|
#id ⇒ Object
1123
|
# File 'lib/carddb/collection.rb', line 1123
def id = data['id']
|
#key ⇒ Object
1124
|
# File 'lib/carddb/collection.rb', line 1124
def key = data['key']
|
#label ⇒ Object
1125
|
# File 'lib/carddb/collection.rb', line 1125
def label = data['label']
|
#lookup_mode ⇒ Object
1131
|
# File 'lib/carddb/collection.rb', line 1131
def lookup_mode = data['lookupMode']
|
#required? ⇒ Boolean
1132
|
# File 'lib/carddb/collection.rb', line 1132
def required? = !!data['isRequired']
|
#semantic_type ⇒ Object
1129
|
# File 'lib/carddb/collection.rb', line 1129
def semantic_type = data['semanticType']
|
#shape_type ⇒ Object
1127
|
# File 'lib/carddb/collection.rb', line 1127
def shape_type = data['shapeType']
|
#sort_order ⇒ Object
1126
|
# File 'lib/carddb/collection.rb', line 1126
def sort_order = data['sortOrder']
|
#weight ⇒ Object
1133
|
# File 'lib/carddb/collection.rb', line 1133
def weight = data['weight']
|