Class: Gluttonberg::Components::Component

Inherits:
Struct
  • Object
show all
Defined in:
lib/gluttonberg/components.rb

Instance Attribute Summary (collapse)

Instance Attribute Details

- (Object) admin_url

Returns the value of attribute admin_url

Returns:

  • (Object)

    the current value of admin_url



11
12
13
# File 'lib/gluttonberg/components.rb', line 11

def admin_url
  @admin_url
end

- (Object) label

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



11
12
13
# File 'lib/gluttonberg/components.rb', line 11

def label
  @label
end

- (Object) name

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



11
12
13
# File 'lib/gluttonberg/components.rb', line 11

def name
  @name
end

- (Object) only_for_super_admin

Returns the value of attribute only_for_super_admin

Returns:

  • (Object)

    the current value of only_for_super_admin



11
12
13
# File 'lib/gluttonberg/components.rb', line 11

def only_for_super_admin
  @only_for_super_admin
end