Class: Files::Auto
- Inherits:
-
Object
- Object
- Files::Auto
- Defined in:
- lib/files.com/models/auto.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#dynamic ⇒ Object
object - Additional data.
-
#initialize(attributes = {}, options = {}) ⇒ Auto
constructor
A new instance of Auto.
Constructor Details
#initialize(attributes = {}, options = {}) ⇒ Auto
Returns a new instance of Auto.
7 8 9 10 |
# File 'lib/files.com/models/auto.rb', line 7 def initialize(attributes = {}, = {}) @attributes = attributes || {} @options = || {} end |
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
5 6 7 |
# File 'lib/files.com/models/auto.rb', line 5 def attributes @attributes end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
5 6 7 |
# File 'lib/files.com/models/auto.rb', line 5 def @options end |
Instance Method Details
#dynamic ⇒ Object
object - Additional data
13 14 15 |
# File 'lib/files.com/models/auto.rb', line 13 def dynamic @attributes[:dynamic] end |