Class: Tracker::Jira::Session
- Inherits:
-
Object
- Object
- Tracker::Jira::Session
- Defined in:
- lib/tracker/jira/host.rb
Overview
This wrapper around XMLRPC::Client that allows simpler method calls via method_missing and doesn’t require to manage the token
Instance Method Summary collapse
-
#initialize(client, token) ⇒ Session
constructor
A new instance of Session.
- #method_missing(sym, args, &block) ⇒ Object
Constructor Details
#initialize(client, token) ⇒ Session
Returns a new instance of Session.
29 30 31 |
# File 'lib/tracker/jira/host.rb', line 29 def initialize(client, token) @client, @token = client, token end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method