class Twurl::AbstractCommandController
Subclasses need to implement a `dispatch' instance method.
Attributes
client[R]
options[R]
Public Class Methods
dispatch(*args, &block)
click to toggle source
# File lib/twurl/abstract_command_controller.rb 6 def dispatch(*args, &block) 7 new(*args, &block).dispatch 8 end
new(client, options)
click to toggle source
# File lib/twurl/abstract_command_controller.rb 11 def initialize(client, options) 12 @client = client 13 @options = options 14 end