Class: Gitlab::Client
- Inherits:
-
API
- Object
- API
- Gitlab::Client
show all
- Defined in:
- lib/gitlab_reviewbot/gitlab.rb
Instance Method Summary
collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
101
102
103
104
105
106
107
|
# File 'lib/gitlab_reviewbot/gitlab.rb', line 101
def method_missing(method, *args)
if client_helper.respond_to?(method)
client_helper.send(method, *args)
else
super
end
end
|
Instance Method Details
#client_helper ⇒ Object
97
98
99
|
# File 'lib/gitlab_reviewbot/gitlab.rb', line 97
def client_helper
@client_helper ||= ClientHelper.new(self)
end
|