Class: Effective::Resource
- Inherits:
-
Object
- Object
- Effective::Resource
- Includes:
- Effective::Resources::Associations, Effective::Resources::Attributes, Effective::Resources::Init, Effective::Resources::Instance, Effective::Resources::Klass, Effective::Resources::Naming, Effective::Resources::Paths
- Defined in:
- app/models/effective/resource.rb
Constant Summary
Constants included from Effective::Resources::Naming
Effective::Resources::Naming::SPLIT
Instance Attribute Summary
Attributes included from Effective::Resources::Instance
Instance Method Summary collapse
-
#initialize(input) ⇒ Resource
constructor
post, Post, Admin::Post, admin::Post, admin/posts, admin/post, admin/effective::post.
- #to_s ⇒ Object
Methods included from Effective::Resources::Paths
#action_path, #action_path_helper, #controller_file, #datatable_file, #edit_path, #edit_path_helper, #index_path, #model_file, #new_path, #show_path, #show_path_helper, #view_file
Methods included from Effective::Resources::Naming
#class_name, #class_path, #human_name, #name, #namespace, #namespaced_class_name, #namespaces, #plural_name
Methods included from Effective::Resources::Klass
#controller_klass, #datatable_klass, #klass
Methods included from Effective::Resources::Instance
#instance_attributes, #instance_changes
Methods included from Effective::Resources::Attributes
#attribute_names, #attributes, #belong_tos_attributes, #klass_attributes, #written_attributes
Methods included from Effective::Resources::Associations
#belong_tos, #has_manys, #has_ones, #nested_resources, #scopes
Constructor Details
#initialize(input) ⇒ Resource
post, Post, Admin::Post, admin::Post, admin/posts, admin/post, admin/effective::post
12 13 14 |
# File 'app/models/effective/resource.rb', line 12 def initialize(input) _initialize(input) end |
Instance Method Details
#to_s ⇒ Object
16 17 18 |
# File 'app/models/effective/resource.rb', line 16 def to_s name end |