# frozen_string_literal: true module Azeroth module Resourceable # @api public # @author Darthjee # # Class methods added by {Resourceable} module ClassMethods # Adds resource methods for resource # # @param name [String, Symbol] Name of the resource # @param options [Hash] def resource_for(name, **options) Builder.new( self, name, Azeroth::Options.new(options) ).build end end end end