Class: SimpleForm::Bulma::Item

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Attributes, ActiveModel::Model
Defined in:
app/models/simple_form/bulma/item.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#backgroundObject

Returns the value of attribute background.



8
9
10
# File 'app/models/simple_form/bulma/item.rb', line 8

def background
  @background
end

#descriptionObject

Returns the value of attribute description.



8
9
10
# File 'app/models/simple_form/bulma/item.rb', line 8

def description
  @description
end

#idObject

Returns the value of attribute id.



8
9
10
# File 'app/models/simple_form/bulma/item.rb', line 8

def id
  @id
end

#nameObject

Returns the value of attribute name.



8
9
10
# File 'app/models/simple_form/bulma/item.rb', line 8

def name
  @name
end

#quantityObject

Returns the value of attribute quantity.



8
9
10
# File 'app/models/simple_form/bulma/item.rb', line 8

def quantity
  @quantity
end

#secret_keyObject

Returns the value of attribute secret_key.



8
9
10
# File 'app/models/simple_form/bulma/item.rb', line 8

def secret_key
  @secret_key
end

#serial_numberObject

Returns the value of attribute serial_number.



8
9
10
# File 'app/models/simple_form/bulma/item.rb', line 8

def serial_number
  @serial_number
end

#urlObject

Returns the value of attribute url.



8
9
10
# File 'app/models/simple_form/bulma/item.rb', line 8

def url
  @url
end

Class Method Details

.allObject



19
20
21
# File 'app/models/simple_form/bulma/item.rb', line 19

def self.all
  @all ||= []
end