Sha256: 53f5750cf98eeb18dcb315718fc4200a4ec2242d1e04acbe29f3577b3dd8234a
Contents?: true
Size: 735 Bytes
Versions: 2
Compression:
Stored size: 735 Bytes
Contents
module PowerApi class GeneratorHelpers include GeneratorHelper::ControllerActionsHelper include GeneratorHelper::ResourceHelper include GeneratorHelper::ApiHelper include GeneratorHelper::RspecControllerHelper include GeneratorHelper::AmsHelper include GeneratorHelper::ControllerHelper include GeneratorHelper::RoutesHelper include GeneratorHelper::PaginationHelper include GeneratorHelper::SimpleTokenAuthHelper include GeneratorHelper::RubocopHelper def initialize(config = {}) config.each do |attribute, value| load_attribute(attribute, value) end end private def load_attribute(attribute, value) send("#{attribute}=", value) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
power_api-2.1.1 | lib/power_api/generator_helpers.rb |
power_api-2.1.0 | lib/power_api/generator_helpers.rb |