Class: Adminpanel::Auth

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
Base
Defined in:
app/models/adminpanel/auth.rb

Class Method Summary collapse

Class Method Details

.display_nameObject



30
31
32
# File 'app/models/adminpanel/auth.rb', line 30

def self.display_name
  'Cuenta'
end

.form_attributesObject



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# File 'app/models/adminpanel/auth.rb', line 5

def self.form_attributes
  [
    {
      'name' => {
        'type' => 'text_field',
        'label' => 'Cuenta:'
      }
    },
    {
      'value' => {
        'type' => 'wysiwyg_field',
        'show' => 'show',
        'label' => 'Access Key'
      }
    },
    {
      'key' => {
        'type' => 'text_field',
        'show' => 'show',
        'label' => 'Llave'
      }
    }
  ]
end