Class: Billimatic::Resources::ServiceItem
- Defined in:
- lib/billimatic/resources/service_item.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#collection_name, #create, crud, #destroy, #initialize, #list, #list_by_organization, #parsed_body, #show, #show_by_organization, #update
Methods included from Hooks
Constructor Details
This class inherits a constructor from Billimatic::Resources::Base
Instance Method Details
#search(name:) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/billimatic/resources/service_item.rb', line 6 def search(name:) http.get( "#{resource_base_path}/search", params: { name: name } ) do |response| respond_with_entity response end end |