Class: Effective::Resource
- Inherits:
-
Object
- Object
- Effective::Resource
- Includes:
- Effective::Resources::Actions, 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, #search_columns=, #sort_column, #sort_column=, #sql_column, #sql_direction, #sql_type, #table
Methods included from Effective::Resources::Relation
Methods included from Effective::Resources::Paths
#controller_file, #datatable_file, #model_file, #view_file
Methods included from Effective::Resources::Naming
#class_name, #class_path, #human_name, #initialized_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, #submits, #submits_for
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, #scope?
Methods included from Effective::Resources::Actions
#action_path, #action_path_helper, #actions, #collection_actions, #collection_get_actions, #collection_post_actions, #controller_path, #member_actions, #member_get_actions, #member_post_actions, #routes, #routes_engine
Constructor Details
#initialize(input, namespace: nil) ⇒ Resource
post, Post, Admin::Post, admin::Post, admin/posts, admin/post, admin/effective::post
16 17 18 |
# File 'app/models/effective/resource.rb', line 16 def initialize(input, namespace: nil) _initialize(input, namespace: namespace) end |
Instance Method Details
#to_s ⇒ Object
20 21 22 |
# File 'app/models/effective/resource.rb', line 20 def to_s name end |