Class: Facebooker::Rails::Publisher::PublisherController
- Inherits:
-
Object
- Object
- Facebooker::Rails::Publisher::PublisherController
- Includes:
- ActionController::UrlWriter
- Defined in:
- lib/facebooker/rails/publisher.rb
Class Attribute Summary collapse
-
.url_option_source ⇒ Object
Returns the value of attribute url_option_source.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(source) ⇒ PublisherController
constructor
A new instance of PublisherController.
Constructor Details
#initialize(source) ⇒ PublisherController
Returns a new instance of PublisherController.
592 593 594 |
# File 'lib/facebooker/rails/publisher.rb', line 592 def initialize(source) self.class.url_option_source = source end |
Class Attribute Details
.url_option_source ⇒ Object
Returns the value of attribute url_option_source.
597 598 599 |
# File 'lib/facebooker/rails/publisher.rb', line 597 def url_option_source @url_option_source end |
Class Method Details
.default_url_options(*args) ⇒ Object
599 600 601 |
# File 'lib/facebooker/rails/publisher.rb', line 599 def (*args) url_option_source.(*args) end |
.old_default_url_options ⇒ Object
598 |
# File 'lib/facebooker/rails/publisher.rb', line 598 alias :old_default_url_options :default_url_options |