Class: IrisRails::Account

Inherits:
Object
  • Object
show all
Defined in:
lib/generators/lib/iris_rails.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_descriptionObject

Returns the value of attribute account_description.



37
38
39
# File 'lib/generators/lib/iris_rails.rb', line 37

def 
  @account_description
end

#account_keywordObject

Returns the value of attribute account_keyword.



38
39
40
# File 'lib/generators/lib/iris_rails.rb', line 38

def 
  @account_keyword
end

#account_nameObject

Returns the value of attribute account_name.



33
34
35
# File 'lib/generators/lib/iris_rails.rb', line 33

def 
  @account_name
end

#account_titleObject

Returns the value of attribute account_title.



36
37
38
# File 'lib/generators/lib/iris_rails.rb', line 36

def 
  @account_title
end

#templateObject

Returns the value of attribute template.



34
35
36
# File 'lib/generators/lib/iris_rails.rb', line 34

def template
  @template
end

#typeObject

Returns the value of attribute type.



35
36
37
# File 'lib/generators/lib/iris_rails.rb', line 35

def type
  @type
end