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
1121
|
# File 'lib/carddb/collection.rb', line 1121
def config = data['config'] || {}
|
1117
|
# File 'lib/carddb/collection.rb', line 1117
def = data['extractionMode']
|
#geometry ⇒ Object
1115
|
# File 'lib/carddb/collection.rb', line 1115
def geometry = data['geometry'] || {}
|
#id ⇒ Object
1110
|
# File 'lib/carddb/collection.rb', line 1110
def id = data['id']
|
#key ⇒ Object
1111
|
# File 'lib/carddb/collection.rb', line 1111
def key = data['key']
|
#label ⇒ Object
1112
|
# File 'lib/carddb/collection.rb', line 1112
def label = data['label']
|
#lookup_mode ⇒ Object
1118
|
# File 'lib/carddb/collection.rb', line 1118
def lookup_mode = data['lookupMode']
|
#required? ⇒ Boolean
1119
|
# File 'lib/carddb/collection.rb', line 1119
def required? = !!data['isRequired']
|
#semantic_type ⇒ Object
1116
|
# File 'lib/carddb/collection.rb', line 1116
def semantic_type = data['semanticType']
|
#shape_type ⇒ Object
1114
|
# File 'lib/carddb/collection.rb', line 1114
def shape_type = data['shapeType']
|
#sort_order ⇒ Object
1113
|
# File 'lib/carddb/collection.rb', line 1113
def sort_order = data['sortOrder']
|
#weight ⇒ Object
1120
|
# File 'lib/carddb/collection.rb', line 1120
def weight = data['weight']
|