Class: Madmin::Resource::Attribute

Inherits:
Data
  • Object
show all
Defined in:
lib/madmin/resource.rb

Instance Attribute Summary collapse

Instance Attribute Details

#field ⇒ Object (readonly)

Returns the value of attribute field

Returns:

  • (Object) —

    the current value of field



3
4
5
# File 'lib/madmin/resource.rb', line 3

def field
  @field
end

#name ⇒ Object (readonly)

Returns the value of attribute name

Returns:

  • (Object) —

    the current value of name



3
4
5
# File 'lib/madmin/resource.rb', line 3

def name
  @name
end

#type ⇒ Object (readonly)

Returns the value of attribute type

Returns:

  • (Object) —

    the current value of type



3
4
5
# File 'lib/madmin/resource.rb', line 3

def type
  @type
end