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.
534 535 536 |
# File 'lib/facebooker/rails/publisher.rb', line 534 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.
539 540 541 |
# File 'lib/facebooker/rails/publisher.rb', line 539 def url_option_source @url_option_source end |
Class Method Details
.default_url_options(*args) ⇒ Object
541 542 543 |
# File 'lib/facebooker/rails/publisher.rb', line 541 def (*args) url_option_source.(*args) end |
.old_default_url_options ⇒ Object
540 |
# File 'lib/facebooker/rails/publisher.rb', line 540 alias :old_default_url_options :default_url_options |