Sha256: 3465f0ff2999df9a7decd3bd66b1dc1bc873cade763d831b76c24f2d5d351377
Contents?: true
Size: 918 Bytes
Versions: 5
Compression:
Stored size: 918 Bytes
Contents
module Effective class Resource include Effective::Resources::Actions include Effective::Resources::Associations include Effective::Resources::Attributes include Effective::Resources::Controller include Effective::Resources::Init include Effective::Resources::Instance include Effective::Resources::Forms include Effective::Resources::Klass include Effective::Resources::Model include Effective::Resources::Naming include Effective::Resources::Paths include Effective::Resources::Relation include Effective::Resources::Sql # post, Post, Admin::Post, admin::Post, admin/posts, admin/post, admin/effective::post def initialize(input, namespace: nil, relation: nil, &block) _initialize_input(input, namespace: namespace, relation: relation) _initialize_model(&block) if block_given? self end def to_s name end end end
Version data entries
5 entries across 5 versions & 1 rubygems