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, #format, #password, #service, #username

Instance Method Summary collapse

Methods inherited from Base

#initialize, #raw_http_request, #rpc_call

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 :get_accessible_products
end

#get_enterable_productsObject



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

def get_enterable_products
  rpc_call :get_selectable_products
end

#get_products(params = {}) ⇒ Object



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

def get_products(params={})
  rpc_call :get, params
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 :get_selectable_products
end