Class: Infold::Resource
- Inherits:
-
Object
- Object
- Infold::Resource
- Extended by:
- Forwardable
- Defined in:
- lib/infold/resource.rb
Instance Attribute Summary collapse
-
#app_title ⇒ Object
Returns the value of attribute app_title.
-
#default_order ⇒ Object
Returns the value of attribute default_order.
-
#field_group ⇒ Object
Returns the value of attribute field_group.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ Resource
constructor
A new instance of Resource.
Constructor Details
#initialize(name) ⇒ Resource
Returns a new instance of Resource.
13 14 15 |
# File 'lib/infold/resource.rb', line 13 def initialize(name) @name = name end |
Instance Attribute Details
#app_title ⇒ Object
Returns the value of attribute app_title.
9 10 11 |
# File 'lib/infold/resource.rb', line 9 def app_title @app_title end |
#default_order ⇒ Object
Returns the value of attribute default_order.
9 10 11 |
# File 'lib/infold/resource.rb', line 9 def default_order @default_order end |
#field_group ⇒ Object
Returns the value of attribute field_group.
9 10 11 |
# File 'lib/infold/resource.rb', line 9 def field_group @field_group end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
7 8 9 |
# File 'lib/infold/resource.rb', line 7 def name @name end |