Module: Messenger
- Defined in:
- lib/messenger-ruby.rb,
lib/messenger/client.rb,
lib/messenger/engine.rb,
lib/messenger/params.rb,
lib/messenger/request.rb,
lib/messenger/version.rb,
lib/messenger/configuration.rb,
lib/messenger/components/element.rb,
lib/messenger/components/attachment.rb,
lib/messenger/components/elements/text.rb,
lib/messenger/components/elements/image.rb,
lib/messenger/components/elements/bubble.rb,
lib/messenger/components/elements/button.rb,
lib/messenger/components/templates/buttons.rb,
lib/messenger/components/templates/generic.rb,
lib/messenger/components/templates/receipt.rb,
app/controllers/messenger/messenger_controller.rb,
lib/messenger/components/elements/receipt/item.rb,
lib/messenger/components/elements/receipt/order.rb,
lib/messenger/components/elements/receipt/address.rb,
lib/messenger/components/elements/receipt/summary.rb,
lib/messenger/components/elements/receipt/adjustment.rb
Defined Under Namespace
Modules: Components, Elements, Templates Classes: Client, Configuration, Engine, MessengerController, Params, Request
Constant Summary collapse
- VERSION =
"1.0.1"
Class Attribute Summary collapse
-
.config ⇒ Object
Returns the value of attribute config.
Class Method Summary collapse
Class Attribute Details
.config ⇒ Object
Returns the value of attribute config.
24 25 26 |
# File 'lib/messenger-ruby.rb', line 24 def config @config end |
Class Method Details
.configure {|config| ... } ⇒ Object
30 31 32 |
# File 'lib/messenger-ruby.rb', line 30 def configure yield(config) end |
.reset ⇒ Object
34 35 36 |
# File 'lib/messenger-ruby.rb', line 34 def reset @config = Configuration.new end |