Class: Gluttonberg::Components::Component

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

Instance Attribute Summary collapse

Instance Attribute Details

#admin_urlObject

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

#labelObject

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

#nameObject

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

#only_for_super_adminObject

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