Class: Bugly::Issue
- Inherits:
-
APIResource
- Object
- BuglyObject
- APIResource
- Bugly::Issue
- Defined in:
- lib/bugly.rb
Instance Attribute Summary
Attributes inherited from BuglyObject
Instance Method Summary collapse
- #comments ⇒ Object
- #commits ⇒ Object
- #dependents ⇒ Object
- #duplicates ⇒ Object
-
#labels ⇒ Object
def labels Label.all({ :issue_id => id }, @api_key) end.
- #prerequisites ⇒ Object
- #related ⇒ Object
- #watchers ⇒ Object
Methods included from APIOperations::List
Methods included from APIOperations::Update
Methods included from APIOperations::Delete
Methods included from APIOperations::Create
Methods inherited from APIResource
Methods inherited from BuglyObject
#[], #[]=, #as_json, construct_from, #each, #initialize, #inspect, #keys, #refresh_from, #to_hash, #to_json, #to_s, #values
Constructor Details
This class inherits a constructor from Bugly::BuglyObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Bugly::BuglyObject
Instance Method Details
#comments ⇒ Object
338 339 340 341 |
# File 'lib/bugly.rb', line 338 def comments 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
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 |
#related ⇒ Object
368 369 370 371 |
# File 'lib/bugly.rb', line 368 def 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 |