Module: Rubyblok

Defined in:
lib/rubyblok.rb,
lib/rubyblok/railtie.rb,
lib/rubyblok/version.rb,
lib/rubyblok/mixins/model.rb,
lib/rubyblok/configuration.rb,
lib/rubyblok/mixins/webhook.rb,
lib/rubyblok/mixins/model_cache_class.rb,
lib/generators/rubyblok/install_generator.rb,
lib/rubyblok/services/get_storyblok_story.rb,
lib/generators/rubyblok/migration_generator.rb,
lib/rubyblok/services/replace_storyblok_url.rb,
lib/generators/rubyblok/hello_world_generator.rb,
lib/generators/rubyblok/image_cache_generator.rb,
lib/generators/rubyblok/sitemap_config_generator.rb,
lib/generators/rubyblok/webhook_controller_generator.rb

Defined Under Namespace

Modules: Generators, Mixins, Services Classes: Configuration, Error, Railtie

Constant Summary collapse

VERSION =
'1.3.0'

Class Method Summary collapse

Class Method Details

.configurationObject



24
25
26
# File 'lib/rubyblok.rb', line 24

def self.configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



28
29
30
# File 'lib/rubyblok.rb', line 28

def self.configure
  yield(configuration)
end