Class: EgovUtils::UserSchema
Instance Method Summary
collapse
engine_name, #engine_name
Instance Method Details
#default_columns ⇒ Object
8
9
10
|
# File 'app/schemas/egov_utils/user_schema.rb', line 8
def default_columns
['fullname', 'provider', 'roles', 'groups']
end
|
#initialize_available_attributes ⇒ Object
12
13
14
15
16
17
|
# File 'app/schemas/egov_utils/user_schema.rb', line 12
def initialize_available_attributes
@available_attributes ||= []
@available_attributes << AzaharaSchema::DerivedAttribute.new(model, 'fullname', :concat, 'lastname', 'firstname', schema: self)
super
@available_attributes << AllRoleNames.new(model, 'all_role_names', 'string')
end
|
#main_attribute_name ⇒ Object
4
5
6
|
# File 'app/schemas/egov_utils/user_schema.rb', line 4
def main_attribute_name
'fullname'
end
|