Class: Bugly::Issue
Instance Attribute Summary
Attributes inherited from BuglyObject
#api_base, #api_key
Instance Method Summary
collapse
included
#save
#delete
included
Methods inherited from APIResource
#refresh, retrieve, #url, url
Methods inherited from BuglyObject
#[], #[]=, #as_json, construct_from, #each, #initialize, #inspect, #keys, #refresh_from, #to_hash, #to_json, #to_s, #values
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class Bugly::BuglyObject
Instance Method Details
338
339
340
341
|
# File 'lib/bugly.rb', line 338
def
response, api_key = Bugly.request(:get, "#{url}/comments", @api_key)
Util.convert_to_bugly_object(response, api_key)
end
|
#commits ⇒ Object
344
345
346
|
# File 'lib/bugly.rb', line 344
def commits
Changeset.all({ :issue_id => id }, @api_key)
end
|
#dependents ⇒ Object
358
359
360
361
|
# File 'lib/bugly.rb', line 358
def dependents
response, api_key = Bugly.request(:get, "#{url}/dependents", @api_key)
Util.convert_to_bugly_object(response, api_key)
end
|
#duplicates ⇒ Object
363
364
365
366
|
# File 'lib/bugly.rb', line 363
def duplicates
response, api_key = Bugly.request(:get, "#{url}/duplicates", @api_key)
Util.convert_to_bugly_object(response, api_key)
end
|
#labels ⇒ Object
def labels
Label.all({ :issue_id => id }, @api_key)
end
333
334
335
336
|
# File 'lib/bugly.rb', line 333
def labels
response, api_key = Bugly.request(:get, "#{url}/labels", @api_key)
Util.convert_to_bugly_object(response, api_key)
end
|
#prerequisites ⇒ Object
353
354
355
356
|
# File 'lib/bugly.rb', line 353
def prerequisites
response, api_key = Bugly.request(:get, "#{url}/prerequisites", @api_key)
Util.convert_to_bugly_object(response, api_key)
end
|
368
369
370
371
|
# File 'lib/bugly.rb', line 368
def related
response, api_key = Bugly.request(:get, "#{url}/related", @api_key)
Util.convert_to_bugly_object(response, api_key)
end
|
#watchers ⇒ Object
348
349
350
351
|
# File 'lib/bugly.rb', line 348
def watchers
response, api_key = Bugly.request(:get, "#{url}/watchers", @api_key)
Util.convert_to_bugly_object(response, api_key)
end
|