Module: SolidusFeeds
- Defined in:
- lib/solidus_feeds/feed.rb,
lib/solidus_feeds/engine.rb,
lib/solidus_feeds/version.rb,
lib/solidus_feeds/configuration.rb,
lib/solidus_feeds/publishers/s3.rb,
lib/solidus_feeds/publishers/static_file.rb,
lib/solidus_feeds/generators/google_merchant.rb,
lib/generators/solidus_feeds/install/install_generator.rb
Defined Under Namespace
Modules: Generators, Publishers
Classes: Configuration, Engine, Feed
Constant Summary
collapse
- VERSION =
'0.1.0'
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.description ⇒ Object
51
52
53
|
# File 'lib/solidus_feeds/configuration.rb', line 51
def description
@description ||= "Find out about new products on https://#{::Spree::Store.default.url} first!"
end
|
.language ⇒ Object
55
56
57
|
# File 'lib/solidus_feeds/configuration.rb', line 55
def language
@language ||= 'en-us'
end
|
.link ⇒ Object
47
48
49
|
# File 'lib/solidus_feeds/configuration.rb', line 47
def link
@link ||= "https://#{::Spree::Store.default.url}"
end
|
.title ⇒ Object
43
44
45
|
# File 'lib/solidus_feeds/configuration.rb', line 43
def title
@title ||= ::Spree::Store.default.name
end
|
Class Method Details
.configuration ⇒ Object
Also known as:
config
29
30
31
|
# File 'lib/solidus_feeds/configuration.rb', line 29
def configuration
@configuration ||= Configuration.new
end
|
39
40
41
|
# File 'lib/solidus_feeds/configuration.rb', line 39
def configure
yield configuration
end
|
.reset_config! ⇒ Object
35
36
37
|
# File 'lib/solidus_feeds/configuration.rb', line 35
def reset_config!
@configuration
end
|