Class: Bugzilla::APITemplate
- Defined in:
- lib/bugzilla/api_tmpl.rb
Overview
Bugzilla::APITemplate
Instance Method Summary collapse
-
#initialize(iface) ⇒ APITemplate
constructor
A new instance of APITemplate.
-
#method_missing(symbol, *args) ⇒ Object
def initialize.
Constructor Details
#initialize(iface) ⇒ APITemplate
Returns a new instance of APITemplate.
34 35 36 37 38 |
# File 'lib/bugzilla/api_tmpl.rb', line 34 def initialize(iface) super @bz = Bugzilla.new(iface) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(symbol, *args) ⇒ Object
def initialize
40 41 42 43 44 45 46 |
# File 'lib/bugzilla/api_tmpl.rb', line 40 def method_missing(symbol, *args) if @bz.respond_to?(symbol) then @bz.__send__(symbol, *args) else super end end |