Class: IrisRails::Account
- Inherits:
-
Object
- Object
- IrisRails::Account
- Defined in:
- lib/generators/lib/iris_rails.rb
Instance Attribute Summary collapse
-
#account_description ⇒ Object
Returns the value of attribute account_description.
-
#account_keyword ⇒ Object
Returns the value of attribute account_keyword.
-
#account_name ⇒ Object
Returns the value of attribute account_name.
-
#account_title ⇒ Object
Returns the value of attribute account_title.
-
#template ⇒ Object
Returns the value of attribute template.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(attr = {}) ⇒ Account
constructor
A new instance of Account.
Constructor Details
#initialize(attr = {}) ⇒ Account
Returns a new instance of Account.
40 41 42 43 44 45 46 47 |
# File 'lib/generators/lib/iris_rails.rb', line 40 def initialize(attr = {}) @account_name = attr[:account_name] @template = attr[:template] @type = attr[:type] @account_title = attr[:account_title] @account_description = attr[:account_description] @account_keyword = attr[:account_keyword] end |
Instance Attribute Details
#account_description ⇒ Object
Returns the value of attribute account_description.
37 38 39 |
# File 'lib/generators/lib/iris_rails.rb', line 37 def account_description @account_description end |
#account_keyword ⇒ Object
Returns the value of attribute account_keyword.
38 39 40 |
# File 'lib/generators/lib/iris_rails.rb', line 38 def account_keyword @account_keyword end |
#account_name ⇒ Object
Returns the value of attribute account_name.
33 34 35 |
# File 'lib/generators/lib/iris_rails.rb', line 33 def account_name @account_name end |
#account_title ⇒ Object
Returns the value of attribute account_title.
36 37 38 |
# File 'lib/generators/lib/iris_rails.rb', line 36 def account_title @account_title end |
#template ⇒ Object
Returns the value of attribute template.
34 35 36 |
# File 'lib/generators/lib/iris_rails.rb', line 34 def template @template end |
#type ⇒ Object
Returns the value of attribute type.
35 36 37 |
# File 'lib/generators/lib/iris_rails.rb', line 35 def type @type end |