Class: Effective::Resource
- Inherits:
-
Object
- Object
- Effective::Resource
- Includes:
- Effective::Resources::Associations, Effective::Resources::Attributes, Effective::Resources::Forms, Effective::Resources::Init, Effective::Resources::Instance, Effective::Resources::Klass, Effective::Resources::Naming, Effective::Resources::Paths, Effective::Resources::Relation, Effective::Resources::Sql
- 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::Relation
Attributes included from Effective::Resources::Instance
Instance Method Summary collapse
-
#initialize(input, namespace: nil) ⇒ Resource
constructor
post, Post, Admin::Post, admin::Post, admin/posts, admin/post, admin/effective::post.
- #to_s ⇒ Object
Methods included from Effective::Resources::Sql
#column, #column_names, #columns, #max_id, #search_columns, #sort_column, #sql_column, #sql_direction, #sql_type, #table
Methods included from Effective::Resources::Relation
Methods included from Effective::Resources::Paths
#action_path, #action_path_helper, #controller_file, #datatable_file, #destroy_path, #edit_path, #edit_path_helper, #index_path, #model_file, #new_path, #path_exists?, #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
#active_record?, #controller_klass, #datatable_klass, #klass
Methods included from Effective::Resources::Forms
#search_form_field, #search_form_field_collection
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
#associated, #belong_tos, #belongs_to, #belongs_to_polymorphic, #effective_addresses, #has_and_belongs_to_many, #has_and_belongs_to_manys, #has_many, #has_manys, #has_one, #has_ones, #macros, #nested_resource, #nested_resources
Constructor Details
#initialize(input, namespace: nil) ⇒ Resource
post, Post, Admin::Post, admin::Post, admin/posts, admin/post, admin/effective::post
15 16 17 |
# File 'app/models/effective/resource.rb', line 15 def initialize(input, namespace: nil) _initialize(input, namespace: namespace) end |
Instance Method Details
#to_s ⇒ Object
19 20 21 |
# File 'app/models/effective/resource.rb', line 19 def to_s name end |