Class: SimpleForm::Bulma::Item
- Inherits:
-
Object
- Object
- SimpleForm::Bulma::Item
- Includes:
- ActiveModel::Attributes, ActiveModel::Model
- Defined in:
- app/models/simple_form/bulma/item.rb
Instance Attribute Summary collapse
-
#background ⇒ Object
Returns the value of attribute background.
-
#description ⇒ Object
Returns the value of attribute description.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#quantity ⇒ Object
Returns the value of attribute quantity.
-
#secret_key ⇒ Object
Returns the value of attribute secret_key.
-
#serial_number ⇒ Object
Returns the value of attribute serial_number.
-
#url ⇒ Object
Returns the value of attribute url.
Class Method Summary collapse
Instance Attribute Details
#background ⇒ Object
Returns the value of attribute background.
8 9 10 |
# File 'app/models/simple_form/bulma/item.rb', line 8 def background @background end |
#description ⇒ Object
Returns the value of attribute description.
8 9 10 |
# File 'app/models/simple_form/bulma/item.rb', line 8 def description @description end |
#id ⇒ Object
Returns the value of attribute id.
8 9 10 |
# File 'app/models/simple_form/bulma/item.rb', line 8 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
8 9 10 |
# File 'app/models/simple_form/bulma/item.rb', line 8 def name @name end |
#quantity ⇒ Object
Returns the value of attribute quantity.
8 9 10 |
# File 'app/models/simple_form/bulma/item.rb', line 8 def quantity @quantity end |
#secret_key ⇒ Object
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_number ⇒ Object
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 |
#url ⇒ Object
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
.all ⇒ Object
19 20 21 |
# File 'app/models/simple_form/bulma/item.rb', line 19 def self.all @all ||= [] end |