app/models/widget.rb
# The Model is a mixin for Naming, Translation, Validations and Conversions
The Model is a mixin for Naming, Translation, Validations and Conversions
The Model is a mixin for Naming Translation Validations and Conversions
def attributes
    {
      id: @id,
      user: @user,
      user_id: @user_id,
      application: @application,
      slug: @slug,
      name: @name,
      description: @description,
      source: @source,
      source_url: @source_url,
      layer_id: @layer_id,
      dataset: @dataset,
      datasetName: @dataset_name,
      authors: @authors,
      query_sql: @query_sql,
      widgetConfig: @widget_config,
      metadata: @metadata,
      template: @template,
      default: @default,
      protected: @protected,
      status: @status,
      published: @published,
      freeze: @freeze,
      verified: @verified,
      createdAt: @created_at,
      updatedAt: @updated_at
    }
  end
def attributes { id : @id , user : @user , user_id : @user_id , application : @application , slug : @slug , name : @name , description : @description , source : @source , source_url : @source_url , layer_id : @layer_id , dataset : @dataset , datasetName : @dataset_name , authors : @authors , query_sql : @query_sql , widgetConfig : @widget_config , metadata : @metadata , template : @template , default : @default , protected : @protected , status : @status , published : @published , freeze : @freeze , verified : @verified , createdAt : @created_at , updatedAt : @updated_at } end
The Model is a mixin for Naming, Translation, Validations and Conversions
The Model is a mixin for Naming Translation Validations and Conversions