Class: Rodzilla::Resource::Product

Inherits:
Base
  • Object
show all
Defined in:
lib/rodzilla/resource/product.rb

Overview

Bugzilla::Webservice::Product - The Product API This part of the Bugzilla API allows you to list the available Products and get information about them.

Instance Attribute Summary

Attributes inherited from Base

#base_url, #credentials, #format, #headers, #password, #request_url, #response, #result, #username

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Rodzilla::Resource::Base

Instance Method Details

#get_accessible_productsObject



16
17
18
# File 'lib/rodzilla/resource/product.rb', line 16

def get_accessible_products
  rpc_call( rpc_method: "get_accessible_products" )
end

#get_enterable_productsObject



12
13
14
# File 'lib/rodzilla/resource/product.rb', line 12

def get_enterable_products
  rpc_call( rpc_method: "get_enterable_products" )
end

#get_products(ids) ⇒ Object



20
21
22
# File 'lib/rodzilla/resource/product.rb', line 20

def get_products(ids)
  rpc_call( rpc_method: "get", ids: ids )
end

#get_selectable_productsObject

Returns a list of the ids of the products the user can search on.



8
9
10
# File 'lib/rodzilla/resource/product.rb', line 8

def get_selectable_products
  rpc_call( rpc_method: "get_selectable_products" )
end