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.
579 580 581 |
# File 'lib/facebooker/rails/publisher.rb', line 579 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.
584 585 586 |
# File 'lib/facebooker/rails/publisher.rb', line 584 def url_option_source @url_option_source end |
Class Method Details
.default_url_options(*args) ⇒ Object
586 587 588 |
# File 'lib/facebooker/rails/publisher.rb', line 586 def (*args) url_option_source.(*args) end |
.old_default_url_options ⇒ Object
585 |
# File 'lib/facebooker/rails/publisher.rb', line 585 alias :old_default_url_options :default_url_options |