Class: Infold::Resource

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/infold/resource.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_titleObject

Returns the value of attribute app_title.



9
10
11
# File 'lib/infold/resource.rb', line 9

def app_title
  @app_title
end

#default_orderObject

Returns the value of attribute default_order.



9
10
11
# File 'lib/infold/resource.rb', line 9

def default_order
  @default_order
end

#field_groupObject

Returns the value of attribute field_group.



9
10
11
# File 'lib/infold/resource.rb', line 9

def field_group
  @field_group
end

#nameObject (readonly)

Returns the value of attribute name.



7
8
9
# File 'lib/infold/resource.rb', line 7

def name
  @name
end